LogoLogo
  • 👋START HERE
    • Welcome!
  • â„šī¸General
    • Release Notes
      • Full Feature Base Template
      • Services
      • Rule-based Automation
        • May 2025
        • February 2025
        • January 2025
        • December 2024
        • November 2024
        • October 2024
        • September 2024
        • August 2024
        • July 2024
        • June 2024
        • May 2024
        • April 2024
        • March 2024
        • February 2024
        • January 2024
        • 2023
        • 2022
        • 2021
        • Dialog Design Update
    • Glossary of Terms
    • Authentication Methods
      • SSO (Single Sign-On)
      • Built-In User Management
    • Acceptable Use Policy
  • âš™ī¸Rule-based Automation
    • Overview
      • Account Settings
        • Profile
        • Team
        • Roles and Permissions
          • User Management
          • Project Permissions
      • Basic Concepts
        • Project Management
        • Version Management
        • Multi-Lingual Bots
          • Supported Languages
        • Managing User Interactions
          • Unexpected User Input
          • No User Input
    • Dialog Interface
      • Blocks
        • Conversation Logic
          • Start Conversation
          • Global
          • State
          • Intermediate Response
          • To Previous State
          • End Conversation
        • Subdialog
          • Reusable Subdialogs
        • Phone
          • Continue Listening
          • Call Control
        • Technical Logic
          • Service
          • Condition
          • Storage
        • Other
          • Note
      • Speech Assets
        • Intents
          • Utterances
          • Descriptions
        • Slots
          • Custom Slots
            • List Slots
            • Machine Learning Slots
            • Regex Slots
            • LLM Slots
          • Prebuilt Slots
            • DTMF Slot
        • Text Snippets
        • Dictionary
      • Variables
        • Intents
        • Slots
        • Storage
        • Text Snippets
        • Environments
        • Platform
        • Context
      • Services
        • Service Integration Guide
        • Service Development
        • Service Branches and Error Handling
        • Public Services
          • Date and Birthdate Recognition
          • Spelling Post-Processing for Phone
          • IBAN Validation
          • License Plate Validation
          • Address Search
          • Street Names per Postal Code
          • Email Service
          • SMS Service
          • API Adapter
          • Salesforce-Flow Connector
          • Opening Hours
          • Speech-to-Text Hints
          • Fuzzy Match Names
          • Delay Service
      • Debugger
        • Phone 2
        • WhatsApp
        • Textchat 2
    • Environments Interface
      • Service Keys
    • Deployments Interface
      • Creating a Release
      • Editing a Release
    • Text-to-Speech
      • Azure
      • ElevenLabs
      • OpenAI via Azure (Preview)
      • SSML
        • Audio
        • Break
        • Emphasis
        • Prosody
        • Say-as
        • Substitute
        • Paragraph and Sentence
        • Voice
    • Autocomplete
    • Parloa APIs
      • CallData Service and API
      • Conversation History API
      • Textchat V2 API
    • Phone Integrations
      • Genesys Cloud
        • Setting up the SIP Trunk
        • Sending/Receiving UUI Data
        • Creating a Script to Display UUI
      • SIP
      • Tenios
        • Setting Up an Inbound Connection
        • Setting Up an Outbound Connection
        • Transferring a Call
      • Twilio
      • Public IPs and Port Information
    • AI Integration Overview
      • Dual Intent Recognizer (DIR)
      • Dual Tone Multifrequency (DTMF) Intent
    • Analytics and Debugging
      • Understanding Conversations and Transactions
      • Managing Caller ID Data
      • Hangup Events and Triggered Analytics
      • Analytics Transactions: Data Structure and Insights
      • Dialog Analytics
      • Audit Logs
      • Parloa-hosted Analytics
    • Data Privacy
      • Anonymizing Personally Identifiable Information
    • NLU Training
      • NLU Training Best Practices
    • How To
      • Create a Scalable and Maintainable Bot Architecture
      • Implement OnError Loop Handling
      • Resolve the 'Service Unavailable' Error
    • Reference
      • Parloa Keyboard Shortcuts
      • Frequently Asked Questions (FAQ)
      • JavaScript Cheat Sheet
        • Using Regular Expressions (Regex)
  • 🧠Knowledge Skill
    • Introduction
    • Knowledge Collections
    • Knowledge Sources
    • Knowledge Skill Setup
      • Step 1 – Create a Knowledge Skill Agent
      • Step 2 – Configure a Knowledge Skill Agent
      • Step 3 – Configure a Knowledge Skill Agent
Powered by GitBook
On this page
  • Service configuration
  • Additional Service Details
  • Additional Technical Specifications
  • Usage in Parloa

Was this helpful?

Export as PDF
  1. Rule-based Automation
  2. Dialog Interface
  3. Services
  4. Public Services

Salesforce-Flow Connector

PreviousAPI AdapterNextOpening Hours

Last updated 1 year ago

Was this helpful?

The Salesforce-Flow Connector empowers the execution of Salesforce Flows, ensuring smooth communication through well-managed input and output variables. Streamline workflow integration effortlessly.

Service configuration

  • success: service call completed

  • fail: failed to call the external API

  • flowURL: path to the actual Flow like /path/to/myFlow

  • salesforceCredentials: JSON object with following attributes:

    • client_id: required

    • client_secret: required

    • username: required

    • password: required

    • testSystem: optional

      The standard login url is "login.salesforce.com" when this setting is active (any value) the url changes to "test.salesforce.com". The actual Flow instance url also changes.

  • ...your Input variables for the Flow

The output will be dynamically generated based on the API used, and match its response object.

Possible Errors:

  • Unable to retrieve token from Salesforce. Error: AxiosError: Request failed with status code 400

    1. This error usually comes from wrong credentials. You may be wondering why it throws an HTTP 400 bad request. It is because Salesforce itself throws 400 (instead of 401 / 403) when you request with false credentials.

  • Error while accessing the salesforce flow...

    1. This error occurs when there is a problem with the salesforce flow.

  • URL: https://parloaservices.azurewebsites.net/api/SalesforceConnector?clientId=<CLIENTID>

  • Header: x-functions-key: <AUTHCODE>

For authentication, replace <AUTHCODE> and <CLIENTID> with the values provided by your Parloa representative.

Additional Service Details

The purpose of the Salesforce Connector is to empower businesses by facilitating the seamless execution of Salesforce Flows inside Parloa bots. This service ensures fluid communication through effective management of input and output variables. With the Salesforce Connector, organizations can effortlessly streamline workflow integration, enabling a more efficient and cohesive operational environment.

Parloa users with technical knowledge about Salesforce Flows & the platform itself.

  • Execution of Salesforce Flows

  • Adjust In- & Outup accordingly to your flow

  • Chosse between prod & test system

curl --location 'https://parloaservices.azurewebsites.net/api/SalesforceConnector?clientId=<CLIENTID>' \
--header 'Content-Type: application/json' \
--header 'x-functions-key: <AUTHCODE>' \
--data-raw '{
    "input": {
        "Method": "<example input for your flow>",
        "ANI": "<example input for your flow>",
        "flowURL":"/your/service/flow/url",
        "salesforceCredentials": "{\"client_id\":\"<your-client-id>\",\"client_secret\":\"<your-client-secret>\",\"username\":\"<your-username>\",\"password\":\"<your-password>\",\"testSystem\":null}"
    }
}'

Additional Technical Specifications

None

EU only

Usage in Parloa

Setting up the salesforce credentials variable

The best way to setup the credentials object is to first create new environment variables for this:

After that you can set up a storage block where you create the stringified salesforce credentials object:

Sample configurations with Output

Sample configuration with additional input fields

Sample configuration with invalid credentials:

Output from the debugger:

Output from the debugger:

âš™ī¸
stringified