Vonage AI Studio
  • Welcome to AI Studio!
  • ✨Platform Updates
  • AI Studio
    • Create a new agent
    • NLU AI Engine - Traditional vs Hybrid
    • Agent Building Features
    • Agent Templates
      • Take Message
      • Updating Details
      • Survey
      • FAQ
      • Package Tracking
      • Caller Identification
      • Customer Service
      • Hotels
      • Appointment Management
    • Tester
    • Editor Mode & Publish
    • Reports
    • Users
    • Knowledge AI
  • Properties
    • Entities
      • System Entities List
      • Best Practices
    • Intents
      • How do we analyze user input?
      • Generate Training Data
      • System Intents
      • Intent Annotation
    • Parameters
    • Contacts
    • Tags
    • Recordings
  • Voice
    • Get started
      • Create your first conversational flow!
      • Triggering Outbound Call API
      • Sending an Outbound Call Request via Postman
      • Integration via SIP for Telephony Agents
    • Nodes
      • Start node
      • Conversation
        • Classification
          • Intent Ambiguity
        • Collect Input
          • Entity Ambiguation
        • Speak
        • Conditions
        • Listen
        • Q&A Node
      • Advanced
        • Reset Counter
        • Counter
        • Set Parameter
        • Custom Code
        • NCCO Node
      • Actions
        • Send Email
        • Call Routing
        • End Call
        • Start Recording
        • Stop Recording
        • Send SMS
      • Integrations
        • Webhook
        • Legacy SalesForce Authentication Node
          • SalesForce Authentication
            • How to create a SalesForce Connected App
        • SalesForce Actions
        • Generative AI
          • Setting up Generative AI Node Integration
          • Migrating from the GenAI node to Knowledge AI
      • Flow Control
        • Context Switch
        • Flows
    • Events
  • WhatsApp
    • Get started
      • Create your first conversational flow!
      • Triggering an outbound WhatsApp virtual agent
    • Nodes
      • Start node
      • Conversation
        • Collect Input
          • Entity Ambiguation
        • Classification
          • Intent Ambiguity
        • Send Message
        • Conditions
      • Advanced
        • Reset Counter
        • Counter
        • Set Parameter
        • Custom Code
      • Actions
        • Send Email
        • End Conversation
        • Send SMS
        • Live Agent Routing
      • Integrations
        • Webhook
        • Legacy SalesForce Authentication Node
          • SalesForce Authentication
            • How to create a SalesForce Connected App
        • SalesForce Actions
        • Generative AI
          • Setting up Generative AI Node Integration
          • Endless FAQs on WhatsApp With Generative AI and AI Studio
      • Flow Control
        • Context Switch
        • Flows
    • Events
  • SMS
    • Get started
      • Create your first conversational flow!
      • Triggering an outbound SMS Virtual Agent
    • Nodes
      • Start node
      • Conversation
        • Classification
          • Intent Ambiguity
        • Conditions
        • Send Message
        • Collect Input
          • Entity Ambiguation
      • Advanced
        • Reset Counter
        • Counter
        • Set Parameter
        • Custom Code
      • Actions
        • Send Email
        • End Conversation
        • Send SMS
        • Live Agent Routing
      • Integrations
        • Webhook
        • Legacy SalesForce Authentication Node
          • SalesForce Authentication
            • How to create a SalesForce Connected App
        • SalesForce Actions
        • Generative AI
          • Setting up Generative AI Node Integration
          • Use Case Example: Gym Business
      • Flow Control
        • Context Switch
        • Flows
    • Events
  • HTTP
    • Get started
      • Create your first conversational flow!
    • Nodes
      • Start node
      • Conversation
        • Classification
          • Intent Ambiguity
        • Collect Input
          • Entity Ambiguation
        • Send Message
        • Conditions
      • Advanced
        • Reset Counter
        • Counter
        • Set Parameter
        • Custom Code
      • Action
        • Send Email
        • Send SMS
        • Live Agent Routing
          • Websockets connections for Live agent Routing
      • Integrations
        • Webhook
        • Legacy SalesForce Authentication Node
          • SalesForce Authentication
            • How to create a SalesForce Connected App
        • SalesForce Actions
        • Generative AI
          • Setting up Generative AI Node Integration
          • Use case Example : Online Shopping
      • Flow Control
        • Context Switch
        • Flows
    • Events
  • API Integration
    • Authentication
    • Insights
  • There's more
    • FAQs
    • Languages Available
Powered by GitBook
On this page
  • Here’s how to set it up:-
  • Using the newly added integration within AI Studio
  • Integrating with Salesforce Sandbox Environments

Was this helpful?

  1. HTTP
  2. Nodes
  3. Integrations
  4. Legacy SalesForce Authentication Node

SalesForce Authentication

Enjoy uninterrupted connectivity with your SalesForce database

PreviousLegacy SalesForce Authentication NodeNextHow to create a SalesForce Connected App

Last updated 8 months ago

Was this helpful?

SalesForce integration can now be found with all of your API integrations on the API dashboard!

It is mandatory to set up a SalesForce in order for this integration to work seamlessly. Please use our official documentation learn more about how this can be set up.

Here’s how to set it up:-

Save existing information within SalesForce Authentication Nodes

This node will be deprecated in the coming weeks, we recommend copying all the information already stored in the existing authentication nodes within your agent to a safe place before the node is removed

Once you have safely stored all of the integration information, click on the “Update SalesForce Authentication” button which will redirect you back to the API dashboard to set up the integration.

Set up Integration on the API Dashboard

Once re-directed, select the SalesForce Integration card to create your first SalesForce Integration.

If you do not have access to the integrations page on the API Dashboard, please ask your account admin or account manager to enable it for you.

You will then be prompted to enter your integration details, this is where you can use your previously saved details as follows:-

Domain: This is your account's unique org-specific subdomain for Salesforce login and application URL.

If you get DNS errors when trying to authorise a Connected App, it is likely that login.salesforce.com is redirecting to an incorrect location (e.g. xyz.my.salesforce.com instead of xyz.develop.my.salesforce.com), and the correct one needs to be specified as the Salesforce domain.

Once this is set up you should be able to see the integration amongst the list of your other integrations.

Using the newly added integration within AI Studio

Returning to the Action Nodes in your agent will then allow you to select among the integrations you created via the API dashboard.

This also allows you to integrate into multiple environments without adding multiple nodes.

From here, it's business as usual, use the action nodes wherever it is appropriate within your flows, selecting the right integration for each action.

Please keep in mind that the default timeout for SalesForce authentication is 10 seconds.

Having trouble with your request?

For error tracking, please have a look at Salesforce's detailed documentation.

Integrating with Salesforce Sandbox Environments

Here’s the syntax:

Method:-

POST https://your-tenant-domain.my.salesforce.com/services/oauth2/token?

Headers:-

HTTP Header
Value

Content-Type

application/x-www-form-urlencoded

Query Parameters:-

Query Parameter
Value

grant_type

password

client_id

Your Consumer Key

client_secret

Your Consumer Secret

username

Your API user

password

Your API user's password

Response Mapping:-

Object Path
Parameter

access_token

$SF_ACCESS_TOKEN (parameter where you want to store the token)

Check if your password contains special characters such as a #.

E.g. instead of #42LBMDEH → %1242LBMDEH

Name: Appropriately name your integration, if you have multiple environments you can name them as follows: Production Env, UAT Env. You will later be prompted to select the integration required within the .

Customer Secret: This refers to the Consumer Secret associated with the created within SalesForce.

Customer Key: This refers to the Consumer Key associated with the created within SalesForce.

Authentication EP:

Creating Oauth connected app:

Please note that currently, the best means of integrating with Sandbox environments is still via .

If it does, please use URL encoding to change the format of your password. You can do this using

Action node
Connected app
Connected app
https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_username_password_flow.htm&type=5
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_oauth_and_connected_apps.htm
Webhook
Postman
Connected App