SOLVED

Activate a campaign through REST API

Go to solution
Anonymous
Not applicable

Activate a campaign through REST API

Hi,

Very new in Marketo.

We have created an external site where we will gather email addresses and later use them to send out a follow-up mail.

Through the API, we have been able to

1. create and update leads

2. clone a program

3. create tokens for a mail in a program

4. trigger a campaign

The problem is with triggering the campaign, since it has to be active and we have not found a way to do this via the API. So today we have to log into Marketo and activate it manually. Is there a way to do this via the API instead?

We have tried to clone an active campaign but the cloned campaign is inactive.

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Activate a campaign through REST API

Not sure if you can 'activate' and launch a Marketo program from API calls.

In the past, for similar needs, I took approach of reusing the same smart campaign with 'campaign is requested' trigger rather than having to clone the program. Then in your API call, you can use 'Request Campaign' call. There are other ways but this is more straight forward.

See

http://developers.marketo.com/blog/sending-transactional-emails-with-the-marketo-rest-api-part-1/

Hope this helps.

Rajesh Talele

View solution in original post

5 REPLIES 5
Josh_Hill13
Level 10 - Champion Alumni

Re: Activate a campaign through REST API

Can you give us more info on how/when to trigger this send?

Is there a reason you need to clone the program?

If you look at how Perkuto's Digesto tool works, that may give you some ideas.

Can you use a central trigger that then calls another send trigger?

Anonymous
Not applicable

Re: Activate a campaign through REST API

Hi Josh,

Thank you for your answer. We will try Rajesh's tip and see it is enough for us but Digesto seems to be something we should look at anyway, thanks.

We will have meetings to inform about different subjects. We have an application where we will gather information about the participants, company they work for and email address. After the meeting we would like to be able to upload the gathered info to Marketo and to be able to send out a mail to everyone who has signed up for that. The mail (template created in Marketo) will contain more info and documentation related to the subject that was discuss at the meeting. We would like to trigger the sending from the application when we feel ready to do so.

Regards,

Gianfranco

Anonymous
Not applicable

Re: Activate a campaign through REST API

Not sure if you can 'activate' and launch a Marketo program from API calls.

In the past, for similar needs, I took approach of reusing the same smart campaign with 'campaign is requested' trigger rather than having to clone the program. Then in your API call, you can use 'Request Campaign' call. There are other ways but this is more straight forward.

See

http://developers.marketo.com/blog/sending-transactional-emails-with-the-marketo-rest-api-part-1/

Hope this helps.

Rajesh Talele

Anonymous
Not applicable

Re: Activate a campaign through REST API

Hi Rajesh,

Thank you for your answer. We will try to follow your suggestion.

Regards,

Gianfranco

Anonymous
Not applicable

Re: Activate a campaign through REST API