Getting your Access Token from Salesforce.

Overview Access to information in Salesforce is critical to improving your customer’s experience. To ensure proper security and confidentiality, Salesforce utilizes OAuth authentication as a security model. In this section, we will discuss how SmartFlows complied with Salesforce security model utilizing a Salesforce generated access token. The Overall Flow
To generate a Salesforce OAuth access token, you will need the following information: We need to have access-token to make an API call. In this process, we are using
  • Salesforce username
  • Password
  • consumer key
  • consumer secret
Please contact your Salesforce administrator if any of this info is required. Grab an external webcall action Configure your action Add the following to your new external webcall action
  • HeadersNo special headers are required for the request
  • Username and PasswordThis information will be part of the body of the request, so we will leave these values blank.
  • MethodSet this value to POST
  • TimeoutThe default is 10 seconds
  • Name/Value Parameters 
    • Enter the following name/value pairs:
    • Grant_Type  = Password
    • Client_ID = <Your Salesforce Client_ID>
    • Client_Secret = <Your Salesforce Client Secret>
    • Username = <The Salesforce username for authentication>
    • Password= <The Salesforce password for the user name above>
  • Response Variables
  • To capture the access token value please map the desired variable to the value access_token.
You can now utilize your variable to access data from Salesforce.