Re: Trigger based on API REST call

Rasmus_Bidstru1
Level 4

Trigger based on API REST call

Hi

I have several REST API user setup, is there anyway I can make a Smart campaign trigger based on if the user was created via a specific REST API user? I cant find anywhere i can choose what user is used.

The only thing i can see, is "Lead is created" and a condition with Source Type = Web service API.. but this ways all of my REST API are included 😞

4 REPLIES 4
Josh_Hill13
Level 10 - Champion Alumni

Re: Trigger based on API REST call

You could add a filter to that trigger saying API Source=X or use Lead Source or something. Then make sure your originating server sends that field.

Audrey_Tachon
Level 1

Re: Trigger based on API REST call

Hi Rasmus Bidstrup​,

Did you manage to solve this ? IIf so, I would be interested in knowing how, as I have the same issue, I can't find a way to isolate one specific REST API among all the others.

Josh Hill​, how can I create the field you refer to ?

Josh_Hill13
Level 10 - Champion Alumni

Re: Trigger based on API REST call

add a field to Marketo and ensure it is sent via the other system.

SanfordWhiteman
Level 10 - Community Moderator

Re: Trigger based on API REST call

You don't need a new field; if you're using the Push Lead API endpoint (recommended whenever applicable) simply fill in the Source and/or Reason fields according to the characteristics of the caller. These are fields ​on the Activity level, they aren't lead fields.  They can be uniquely identified in Smart Lists.