Connect Salesforce

Connect your Salesforce org to Askocto, choose production or sandbox and then turn on actions that look up contacts and create leads and cases.

Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.

The Salesforce integration connects your org to your workspace. Once connected, you decide per agent what it may do there: look up contacts, create leads and open cases. This page covers the connection. The actions are described in Salesforce actions.

Before you start

  • A Salesforce admin account that can approve a connection.
  • Workspace Owner or Admin role in Askocto.
  • A sandbox org for testing, if you have one.

Connect Salesforce

  1. Open Workspace Settings > Integrations.
  2. Find Salesforce and select Connect.
  3. Choose Production or Sandbox.
  4. Sign in to Salesforce and approve the connection.

You should see Salesforce marked Connected, with the name of the org and the connected user.

Tip: Connect a sandbox first. Switch to production after you test your procedures and field mapping.

What the connected user can do

The agent acts as the connected user, so Salesforce permissions apply. If that user cannot create a case, the agent cannot either. Use a dedicated integration user with only the access you want the agent to have.

Turn on actions

  1. Open the agent and select Actions.
  2. Select Add action and choose Salesforce.
  3. Choose the actions to allow, such as Look up contact and Create lead.
  4. Map the fields and select Save.

Pair lead creation with Collect leads, so the agent has a name and email before it writes a record.

Test it

  1. Open Test > Playground and ask for a quote with a test email.
  2. Check the trace for the Salesforce action and the values it sent.
  3. In Salesforce, find the test lead and delete it.

Disconnect

Open Workspace Settings > Integrations, choose Salesforce and select Disconnect. Actions that use it stop working. Records already created stay in your org.

To change from sandbox to production, disconnect and connect again.

Troubleshooting

  • The connection is refused. Sign in with an admin account and check that you chose the right org type.
  • Actions fail after a while. Reconnect. Access revoked on the Salesforce side stops the actions.
  • Fields stay empty. Check the mapping and that the agent collects the value first.

Something unclear or missing? Tell us and we will fix the page.