I have created a quick action in account and launched a flow. I need to get account id in that flow. Is there anyway to achieve this?

Currently I implemented with a custom url button and passed account id as a parameter with flow URL.


Can I implement the same with Quick action or get current record id in flow launched from quick action.

2 Answers 2


From the input got from Pranay's answer, I was able to launch flow from quick action. I have created a quick action in Account like: enter image description here

Then I created recordId variable in my flow. enter image description here

Using recordId I added a record lookup to account details. No need to pass account id to flow. recordId is a reserved variable which holds current record id. enter image description here


Its easier,

  1. Create a variable in your flow named as "recordId" enter image description here

  2. Then in app builder, pass that recordId to the flow

enter image description here

You can also pass some extra configurational parameters as well to alter the behaviour of your flow.

Source: https://success.salesforce.com/answers?id=9063A000000id3jQAA

  • 3
    Thanks for your input. But I'm not embedding flow into my account record page. I want to launch the flow on click of a quick action.
    – Reshma
    Dec 5, 2018 at 5:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .