You need to both add the button to the record details layout and configure it (automation, label, optional conditions, and required inputs). Layout configuration is done in the Layout Builder; button behavior is set in the button configuration.
Prerequisites
Before setting up automation buttons, ensure you have:- App Admin access (or equivalent) to edit the app and its record details layout
- An automation to run from the button (from this app or another aspect). See Automation System to create automations
- Familiarity with the Layout Builder for placing the button on the layout
Part 1: Add and Configure the Button (Admin)
Open the Record Details Layout
- Navigate to your app
- Open Configuration (or App settings)
- Open the Record Details Layout (or the layout where you want the button to appear)
Add an Automation Button to the Layout
- In the layout builder, go to the area where you can add buttons or components
- Add an Automation (or Run automation) button to the layout
- Place it in the section where you want it to appear for users
Set Button Label, Text, and Icon
- Open the button configuration
- Enter a Label (for your reference in the layout)
- Set the Button Text that users will see (e.g. “Send for approval”, “Generate report”)
- Optionally select an Icon for the button
Select the Automation
- In the button configuration, choose the Automation that runs when the button is pressed
- You can select an automation from the current aspect or from a different aspect (e.g. another app or element)
- The automation will run in the context of the record when the user clicks the button
Configure When the Button Is Available and Required Inputs
- If needed, configure when the button can be pressed (e.g. based on record data such as status)
- If the automation requires inputs, configure required inputs; a form will be shown to the user to collect these before the automation runs
- Save the button configuration
Part 2: Using the Button (End User)
Open the Record
Navigate to a record that has the automation button on its details page. The button appears where the admin placed it on the layout.
Click the Button
Click the automation button. If the automation has no required inputs, it starts running. If it has required inputs, a form is shown.
Complete the Input Form (If Shown)
If a form appears to gather required inputs:
- Fill in the required fields
- Submit the form
- The automation then starts running
Observe Running Status
While the automation runs, a running status is displayed. The button cannot be clicked again until the current run completes.
Troubleshooting
Button does not appear on the record
Button does not appear on the record
Automation does not run when the button is clicked
Automation does not run when the button is clicked
Form not shown or wrong inputs requested
Form not shown or wrong inputs requested
Check:
- The button configuration specifies which inputs are required for the automation
- The automation trigger or steps expect the inputs you configured
- If you need to change required inputs, edit the button configuration in the layout and update the automation if needed