> For the complete documentation index, see [llms.txt](https://help.getmobly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.getmobly.com/help-center/integrations/crm/salesforce/connecting-campaigns.md).

# Connecting Salesforce Campaigns to Mobly Events

If your team uses Salesforce Campaigns to track event attribution, Mobly can automatically add captured leads as Campaign Members — including their Campaign Member Status based on Mobly qualifier values.

## Before you start

You'll need:

* The [Salesforce integration connected](/help-center/integrations/crm/salesforce/setup-guide.md) in Mobly
* An existing Salesforce Campaign for the event you want to connect (active, not archived)
* The Salesforce user that authorized Mobly needs **Campaign read** and **Campaign Member create/edit** permissions

## Connect a Salesforce Campaign to a Mobly Event

1. In Mobly, open the event you want to sync (**My Events → \[event name]**)
2. Switch to the **Campaigns** tab on the event detail page
3. Click **+ Connect Salesforce Campaign**
4. Search for and select the Salesforce Campaign you want to associate with this Mobly event
5. Verify the campaign details (name, type, dates, owner) shown by Mobly
6. Click **Continue**
7. Choose the **Campaign Member Status** that captured leads should be assigned (e.g., **Sent**, **Responded**, **Attended**)
8. Click **Confirm and Sync**

The synced Salesforce Campaign and chosen status now appear on your Mobly event's Campaigns tab. Leads captured at this Mobly event will be added to the Salesforce Campaign with the chosen status.

## Status updates from qualifier values

To drive Campaign Member Status from a Mobly qualifier value (e.g., "Yes" → "Responded," "No" → "Sent"), set up a **Qualifier Option** mapping under `Integrations → Salesforce → Campaigns` for the linked Salesforce Campaign. See [Mapping campaign fields](/help-center/integrations/crm/campaign-mapping.md).

## Disconnecting

To disconnect a Salesforce Campaign from a Mobly event, return to the event's **Campaigns** tab and remove the linked Campaign using its action menu. Existing Campaign Members stay in Salesforce — disconnect only stops new captures from being added.

## Common gotchas

* **Archived Salesforce Campaigns** won't accept new members. If you archive a Campaign in Salesforce, also remove the Mobly mapping or leads will land in **Reconciliation → Failed**.
* **Required Campaign Member custom fields.** If your Salesforce Campaign Member object has required custom fields, Mobly may not have values to send. Either make those fields optional or add them to Mobly's [field mapping](/help-center/integrations/crm/field-mapping.md).
* **Campaign Hierarchy.** Mobly syncs to the specific Campaign you connect, not its parent or children. For multi-event series, link each Mobly event to the appropriate child Campaign.

## Troubleshooting

If captured leads aren't showing up as Salesforce Campaign Members, check **Integrations → Salesforce → Reconciliation** — see [Fixing Salesforce sync errors](/help-center/integrations/crm/salesforce/troubleshooting.md) for category-specific fixes.

## Related articles

* [Mapping campaign fields](/help-center/integrations/crm/campaign-mapping.md)
* [Salesforce setup guide](/help-center/integrations/crm/salesforce/setup-guide.md)
* [Reconciliation](/help-center/integrations/crm/reconciliation.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.getmobly.com/help-center/integrations/crm/salesforce/connecting-campaigns.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
