> This page is for version Scripted.
> For other versions, use one of these documentation indexes:
> - Generative (default): https://developers.ada.cx/generative/llms.txt
> - Scripted: https://developers.ada.cx/scripted/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.ada.cx/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.ada.cx/_mcp/server.

# Manage chatter information using the Salesforce Action block

## Overview\[#UUID-dcb2ca36-62dc-ca3a-6f16-642b01e7cb27_id_1500005644242_id_h_01F24VRR0V59A2G98S70NJCH1F]

With the Salesforce Action Block, you can perform the following actions
in Salesforce, all from within your bot:

* Create a Case

* Update a Case

* Delete a Case

* Lookup a Case

* Create a Lead

* Update a Lead

* Search Contact by Email

> **Note**
>
> This feature may not be included with your organization's subscription
> package. For more information, see Ada's
> [Pricing](https://www.ada.cx/pricing) page, or contact your Ada team.

Before using the Salesforce Action block, you need to configure the
integration with Salesforce in your Ada dashboard.

## Configure the Salesforce Action Block\[#UUID-dcb2ca36-62dc-ca3a-6f16-642b01e7cb27_id_1500005644242_id_h_01F24VRXJWM7TS7CQDFCQ53JRH]

To configure:

1. On the Ada dashboard, navigate to **Settings** > **Integrations**.

2. Under **App Integrations**, select **Salesforce**.

Paste in your Salesforce username, password, security token
(instructions
[here](https://help.salesforce.com/s/articleView?id=sf.user_security_token.htm\&type=5) -
if you don't have your security token, you have to reset it to create a
new one), and subdomain (instructions
[here](https://help.salesforce.com/articleView?id=sf.domain_name_overview.htm\&type=5))
into the appropriate fields. Click **Save**.

![](/_fern-files/_img/26b5bd0701c2ddd09e0ebd3d93e7c358ef169608510482536d0485032122ad13.webp)

## Use the Salesforce Action Block\[#UUID-dcb2ca36-62dc-ca3a-6f16-642b01e7cb27_id_1500005644242_id_h_01F24VV5T784RJF81VZJEJ43CN]

To use the Salesforce Action block:

1. Drag the block into the appropriate Answer.

2. **Select Action**: Select the action you want to perform in
   Salesforce.

3. **Insert variables** that should be passed to mandatory field that
   has been configured in your Salesforce instance. This is required to
   create a lead.

4. In the **Select Optional Inputs** dropdown, select any other field
   from Salesforce you want to map Ada variables to, and insert the
   variables.

   * If you are using the [File Upload block](/scripted/docs/build-and-maintain-your-bot/work-with-blocks-and-apps/let-chatters-upload-files-using-the-file-upload-block),
     enter the file data token variable you set in that block. Doing so
     links the file upload with the chat handoff, so that your bot
     knows to include the file with the handoff.

5. In the **Save Responses as Variables** field, save a variable such
   as *ID* or *Casenumber*.

6. Select a **Fallback Answer**, in case the request fails.

![](/_fern-files/_img/59dc0bbeddacd7016445ed5d77425b5f0ff0f522521c6379ae77809ac2e7bf5b.webp)

---

Have any questions? Contact your Ada team, or email us at [](<mailto:help@ada.support%20%E2%80%9CHelp Docs inquiry%E2%80%9D>).