1 Reply Latest reply on Oct 4, 2017 3:06 PM by Gerard Donnelly

    Add a lead to engagement program via API

    Michael Tyson

      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.

        • Re: Add a lead to engagement program via API
          Gerard Donnelly

          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"