Activate a campaign through REST API | Community
Skip to main content
November 1, 2017
Solved

Activate a campaign through REST API

  • November 1, 2017
  • 3 replies
  • 4617 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by

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

3 replies

May 9, 2018
Accepted solution
November 1, 2017

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

November 2, 2017

Hi Rajesh,

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

Regards,

Gianfranco

Josh_Hill13
New Participant
November 1, 2017

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?

November 2, 2017

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