Re: Soap API - Create Programs/Campaigns

Javier_Sanchez1
Level 2

Re: Soap API - Create Programs/Campaigns

Thank you Jep for reply.

Can yo please educate me a little on "modify Program Tokens" a bit?

here is the use case:

I have a program and a trigger campaign in it.

The campaign has smart list with 2 triggers:

*) added to list = ListName

*) data value changes LeadAtribute = 1234

and a filter

*) LeadAtribute = 1234

our leads have custom field LeadAtribute and we are adding them to a static list with a specific name.

then leads with matching value (1234 for example) are picked up and processed by a campaign.

I am trying to automate manual cloning and lead importing process.

I can clone the template program with the campaign.

and I can import leads with custom attribute.

the problem is i can't figure out how to update the trigger value in the smart list of the cloned campaign.

any ideas?

please!

can i make list name dynamic? like list name = {{list.name.in.current.program}} ?

or maybe i can add imported leads to new cloned program and set trigger in my template to something like {{lead.added.to.current.program}} ?

Javier_Sanchez1
Level 2

Re: Soap API - Create Programs/Campaigns

indeed thank you Jep Castelein​ !

this looks like something i am looking for!

did some reading:

http://developers.marketo.com/rest-api/endpoint-reference/asset-endpoint-reference/#/Tokens

http://developers.marketo.com/rest-api/assets/tokens/

As far as i understand Tokens are something similar to variables in common language (wondering why would somebody give different name to a variable)

i can create a token in my template program and in my template trigger specify

*) data value changes MyAttribute is {{my.MyAttribute}}

*) filter  MyAttribute is {{my.MyAttribute}}

then i clone the program, change token value in new cloned program, activate my campaign and add users with attribute to my list or update MyAttribute for existing users to fire the campaign.

probably i am missing something, because my campaign did not send me anything.

Any idea what am i doing wrong?

SanfordWhiteman
Level 10 - Community Moderator

Re: Soap API - Create Programs/Campaigns

As far as i understand Tokens are something similar to variables in common language (wondering why would somebody give different name to a variable)

"Token" is a perfectly common programming term for higher-level preprocessing, which is how tokens are used in Marketo.

Jep_Castelein2
Level 10

Re: Soap API - Create Programs/Campaigns

Javier Sanchez​ I think you either want to "schedule campaign" for Batch Campaigns (multiple emails sent in batch) or "request campaign" if you want to send it to a single person. You may want to talk to your Marketo end user / power user, they will be able to explain the Marketo concepts.

Javier_Sanchez1
Level 2

Re: Soap API - Create Programs/Campaigns

Can it be that tokens are not supported as trigger and filter values?

I have local token {{my.briefingID}} in my program.

I set {{my.briefingID}} in my trigger value.

I change value of my {{my.briefingID}} .

I activate my campaign.

I add users with proper briefingID to my list.

All of above seem to work fine. no obvious errors. However the campaign is not picking up members.

Any hints what might be wrong?