+ Start a Discussion
Tiziana ZiesingTiziana Ziesing 

Assign to a campaign

Hi - We are testing a php code in order to send our data from the website to salesforce.
Unfortunately the assignement from the incoming leads are not assigned to the specific campaign. (Field: campaign) What would be the correct field to submit the campaign ID?
Any help on this would be very much appreciated.
Syed Insha Jawaid 2Syed Insha Jawaid 2
Hi Tiziana

Lead and contacts are associated with a campaign through campaign members.

For reference:https://help.salesforce.com/articleView?id=faq_campaigns_how_can_i_add_contacts.htm&type=5&sfdcIFrameOrigin=null