Skip to main content
I have got my IT guys hooking up the API connectons on the back end to recieve leads from api connections with some of our internal systems. 

 

Will they be able to give these leads campaign ID's in the API or am i going to be force to go in and do this myself on every single lead?
10 respuestas
  1. 18 mar 2013, 23:41
    Because there is no field on the Lead record that has anything to do with Campaigns.  In Salesforce, there is a Campaign object, and a Lead object.  The way they are related is by creating a  CampaignMember record that has the IDs for the Campaign and the Lead.

     

    Since you're on Pro, the API will have to do the work:

     

    1) Query for the Campaign desired to get the ID.

     

    2) Create the Lead records and get their ID

     

    3) Create CampaignMember records with the appropriate IDs
0/9000