SOLVED

Add a lead to engagement program via API

Go to solution
Anonymous
Not applicable

Add a lead to engagement program via API

I'm attempting to add a set of leads to a test drip campaign that I set up. Looking through the API documentation and googling around, I am coming up short on answers. Is there a way to do this with the API? So far all the instructions I've seen do so through the web UI.

If there isn't a way to do it through the API, do I need to set a flag on the lead and then use a secondary campaign to push them in? Or some other automated way?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Gerard_Donnell4
Level 10

Re: Add a lead to engagement program via API

Thats what I do.  I have a field for my api that is set to true when its passed in.

I then have a smart campaign in the system listening for the following:

Trigger:

(Person is created)

and

Filter:

(Data Value Changed)

your field name is set to "True"

Then do whatever you want.

This is because all the people coming in through my API should be new, but I also have another trigger in the smart campaign just for (Data Value Changed) your field name is set to "True"

View solution in original post

1 REPLY 1
Gerard_Donnell4
Level 10

Re: Add a lead to engagement program via API

Thats what I do.  I have a field for my api that is set to true when its passed in.

I then have a smart campaign in the system listening for the following:

Trigger:

(Person is created)

and

Filter:

(Data Value Changed)

your field name is set to "True"

Then do whatever you want.

This is because all the people coming in through my API should be new, but I also have another trigger in the smart campaign just for (Data Value Changed) your field name is set to "True"