April 22, 2020

Call Salesforce Flow from REST API

Input Variable:



Output Variable:



Flow:



Fetch Records:




Workbench:
Endpoint:
/services/data/vxx.0/actions/custom/flow/Flow_API_Name

Request Body:
{
  "inputs": [
    {
      "InputVariableAPIName": "InputValue"
    }
  ]
}





2 comments:

  1. This is a very good solution . is there a way we can send a response back to the caller?

    ReplyDelete
    Replies
    1. Yes. Output Variable declared in the Flow will be sent as the response back.

      Delete