Pass the record Id to a flow opened in a panel
Open a second screen flow in a side panel from an Avonni Data Table row, and pass that row's record Id into the panel flow's recordId variable.
An agent on an Account sees its Contacts in an Avonni Data Table and clicks View on one row. A side panel opens a second flow that shows that Contact. Salesforce only fills recordId for the flow on the page: the flow in the panel gets its Id from the Open Flow Panel interaction, through an input variable you set.

Before you start
A screen flow with an Avonni Data Table listing the Account's Contacts. Filter a Data Table or Map by the current record builds one.
A row action on that table, for example View. See Creating row actions.
Steps
Build the flow that opens in the panel
Create a second screen flow, Contact Details:
A Text variable
recordId, with Available for input checked.A screen with an Avonni Record Detail whose Record ID is
{!recordId}, or a Get Records on Contact withIdEquals{!recordId}.
Save and activate it.
Pass the row's Id
Under Input Variables, click Add Item:
Name:
recordId. The list shows the input variables of the panel flow.Value: Record: Id, the Id of the row that was clicked.
Type: Text.

To pass the page's record instead of the row (from a header action, for example), set Value to the first flow's own recordId.
To send several selected rows at once, use the Selected Record Ids value instead: Passing multiple record IDs to another flow. Every other panel option (position, backdrop, output variables, On Finish) is in How to setup an Open Flow Panel interaction.
Troubleshooting
Related tutorials
How to pass your current RecordID in your screen flow: how the first flow gets its Id.
Open Flow Panel: the interaction reference.
Test a screen flow that needs a record Id: Debug the panel flow on its own with a Contact Id.
Was this helpful?
