sf_add_campaign_member
Add a lead or contact to a Salesforce campaign, creating a CampaignMember record to track marketing attribution and engagement.
Instructions
[INSTRUCTIONS] Creates a CampaignMember junction record linking a Lead or Contact to a Campaign. Provide campaignId and either contactId OR leadId (not both). Status defaults to "Sent" but can be set to "Responded", "Registered", etc. based on your campaign member statuses. Returns the created membership record.
Add a lead or contact to a Salesforce marketing campaign for attribution tracking and engagement measurement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | Yes | Campaign ID | |
| contactId | No | Contact ID (provide either this OR leadId) | |
| leadId | No | Lead ID (provide either this OR contactId) | |
| status | No | Member status (default: Sent) |