Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          On-Demand Flows

          On-Demand Flows

          On-demand flows are triggered by REST API calls. For example, create an automation to send your customer an SMS message that triggers after a user signs up for a membership program, or after the user clicks a button on your site.

          Required Editions

          Available in: Lightning Experience
          This feature is available in Enterprise and Unlimited Editions with Marketing Cloud Growth or Advanced Edition.
          Available in: All Editions supported by Data 360. See Data 360 edition availability.

          On-Demand Flows enable developers to integrate high-scale marketing flows into external systems via API calls. Marketing admins maintain control of flow logic and messaging while developers handle the integration. This approach allows you to create personalized customer experiences that respond to real-time events from your external systems.

          Usage

          Before triggering your flow, grant access to the triggering user. Learn more in Give Users Access to Trigger On-Demand Flows

          To trigger the flow, use a REST call with the standard Salesforce invocable action endpoint for the flow. For example, to trigger a flow named FLOW_API_NAME, use this.

          POST /services/data/v65.0/actions/custom/flow/FLOW_API_NAME

          Before triggering the flow, you can use a REST call to get a description of the flow and see all of the possible inputs available for the flow to invoke it. For example, to get the flow description and inputs for a flow named FLOW_API_NAME, use this.

          GET /services/data/v65.0/actions/custom/flow/FLOW_API_NAME

          Inputs

          Input values vary according to the input variables specified in the flow. EmailAddress, IndividualId, and TelephoneNumber are always available as input.

          Input Description Required?
          EmailAddress The contact point email address for the individual. No
          IndividualId The ID for the individual DMO. Yes
          TelephoneNumber The contact point phone number for the individual. No
          ProcessingPriority The priority to give the bulk request. No
           
          Loading
          Salesforce Help | Article