Add Custom Buttons
Put a Log Call button and an edit icon on every Opportunity row, so sales reps act on a deal right from the pipeline table.
A sales rep works through open deals every morning. After each call they want to log it straight away, and now and then fix a field on the deal. A visible button on each row does both from the table, and every click knows which Opportunity it belongs to.

Before you start
A Data Table on the Opportunity object with a Query data source. See Data Table to set one up.
For the Log Call button: an active Screen Flow with a Text input variable named
recordId, marked Available for input in Flow Builder.Several actions that should share one compact menu instead? Use Define Row Actions.
Steps
Add a button column
Select the Data Table on the canvas and stay on the Properties tab.
Under Columns, click Add Columns and choose Custom: a button is not tied to a field.
Turn on Custom Label and enter
Logas the Label. Leave the label empty if you prefer a header with no text.Check the column Name. It fills in from the label and must be unique in the table.
Set Type to Button.
Configure the button
Under Type Attributes, set:
Label:
Log Call, the text shown on the button.Name:
log_call. The interaction listens to this name, so a button without a Name cannot be wired.Variant: Brand.
Icon Name:
utility:call, with Icon Position on Left.

Open the flow when Log Call is clicked
Open the Interactions tab and add an interaction under Row Action Click.
Target Name:
log_call.Type: Open Flow Dialog, then pick your flow in API Name.
Under Input Variables, add an item: Name
recordId, then for Value pick the row's Id from the Record entries (the field then readsRecord: Id), and set Type to Text. This passes the row that was clicked.Modal Header: choose Custom, then enter
Log a call: {{Record.Name}}in the field below.Under On Finish, add Refresh Query so the table shows what the flow changed.
See Open Flow Dialog for the other settings.

Open the record in edit mode from the icon
Add a second interaction under Row Action Click:
Target Name:
edit_deal.Type: Navigate.
Page Reference Type: Record Page.
Object Api Name: Opportunity. Record Id: the row's Id from the Record entries. Action Name: Edit.
See Navigate for the other destinations.
Troubleshooting
Related tutorials
Define Row Actions: group several actions in one menu per row.
Configure Header Actions: one button that acts on all selected rows.
Open a Record from a Row: make the whole row, or the record name, open the record.
Last updated
Was this helpful?
