# Salesforce

Create a lead object on Salesforce

Available in the STARTER plan and above.

Using the salesforce integration, you can create a lead on your Salesforce account using the information collected by the chatbot in the chat flow.

![](https://help.wotnot.io/~gitbook/image?url=https%3A%2F%2F360969599-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FsrMxU8nO3RjusUiYuXBB%252Fuploads%252Fl8JxbjQv9uas7A8PshV2%252FCleanShot%25202024-06-19%2520at%252019.52.43.png%3Falt%3Dmedia%26token%3Df6b25930-d2aa-445a-9f2b-15e19078a67e\&width=768\&dpr=4\&quality=100\&sign=98bee08\&sv=1)

### Connect your Salesforce account <a href="#connect-your-salesforce-account" id="connect-your-salesforce-account"></a>

First, you must connect your Salesforce account by adding your organization ID.

You can either add it from the action panel on the App Market page.

You can find your Salesforce org ID - <https://help.salesforce.com/s/articleView?id=000385215&type=1>

![](https://help.wotnot.io/~gitbook/image?url=https%3A%2F%2F360969599-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FsrMxU8nO3RjusUiYuXBB%252Fuploads%252FDdHZZtH1LfEOR3FD4TCO%252FCleanShot%25202024-06-19%2520at%252019.53.33.png%3Falt%3Dmedia%26token%3D1cd60620-fff1-4b5b-8b73-ded93b4d423b\&width=768\&dpr=4\&quality=100\&sign=8187d0d7\&sv=1)

### **Choose Environment:** <a href="#choose-environment" id="choose-environment"></a>

You can choose the environment that you want to use for this action block.

* Sandbox
* Production

### **Map the Salesforce fields:** <a href="#map-the-salesforce-fields" id="map-the-salesforce-fields"></a>

You can map the Salesforce fields with the variables defined in the bot builder. This way, whatever values stored in WotNot's variables will be mapped against the Salesforce fields that you choose here

You can map both default and custom fields of Salesforce here The maximum number of fields you can map is capped at 50

\ <br>


---

# Agent Instructions: 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:

```
GET https://help.wotsabot.ai/wotsabot-help-articles/integrations/ready-integrations/salesforce.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
