

A Flow can be invoked from multiple places. You can invoke it from a button, embed it on your pages, invoke it when DML operations are performed, schedule to run it or even invoke it through REST API call.
In this step-by-step guide, you will learn how to call a Flow from an API, how to pass parameters to the Flow and how Flow will return the values back to the API
Liked this guide? Want to download this presentation as a PDF or watch training videos? We are now offering a complete course (self-paced) on Mastering Salesforce Flows. For more details and free preview please click here. |
References & Useful URLs:
- Help Article – Launch a Flow from the REST API
Hello Ashish, thank you for this guide.
I’m able to test a custom, auto launched flow from Workbench like on this guide.
However, trying to call the endpoint from a Python script gets me a JSON object describing the Flow: “{“allowsTransactionControl”:false,”category”:null,”configurationEditor”:null,”description”….}
Have you encountered a similar issue, or are Flow APIs only callable from inside Workbench?
Hi Sergio,
The Flow APIs can be called from anywhere. It is not restricted to Workbench. I am not familiar with Python, but can you try if you are able to make other API calls to the same Salesforce org with the same user credentials and and getting a proper response. If you can run it from Workbench, it should work fine from other places also.
Regards,
Ashish