Generate Public Form URL
The Generate Public Form URL action builds a link to one of your public forms, with some fields already filled in from the current automation. Send the link in an email, notification, ticket note, or approval message.
When to Use This Action
Use this action when an automation has information a person still needs to act on through a form. For example:
- An alert email arrives, and you want a technician to complete a site-visit form with the customer and device already filled in.
- A ticket closes, and you want to send the customer a feedback form tied to that ticket.
How It Works
Only fields you allow can be filled in
The action can fill in only form fields that have Allow Query Population turned on. Those fields appear under Pre-Populated Fields. To fill in another field, edit the form, open that field, and turn on Allow Query Population.
The link includes only the fields that end up with a value. A field whose expression is blank is left out, so the form uses that field's default.
Fields that accept multiple values
For a field that accepts multiple values, such as an Array of Strings or Array of Enums field, enter a JSON array such as ["SRV01","SRV02"]. An empty array leaves the field out of the link. If the form receives a value that is not a valid JSON array, the field starts with nothing selected.
Configuration
| Field | Description |
|---|---|
| Public Form | The form to link to. Only forms with public access enabled and a saved public URL appear. |
| Pre-Populated Fields | A value for each field that allows query population. Values support text expressions, such as {{custom.ticket.TicketNumber}}. |
Returned Variables
The action stores the URL as text in the variable you set in Store the results in Variable. For example, if you store the result in publicFormUrl, use {{custom.publicFormUrl}} in a later email or ticket note.
Example
An automation receives a backup failure alert and has already looked up the customer and created a ticket. Fill in the site-visit form like this:
| Form field | Value |
|---|---|
customer_name | {{custom.account.companyName}} |
asset_name | {{custom.extracted.device_name}} |
ticket_number | {{custom.ticket.TicketNumber}} |
The technician opens the link and sees the customer, device, and ticket number already filled in, then completes the rest of the form.
Related Topics
- Forms: how forms use values from the URL
- Run a Workflow When the Form Opens: look data up from a prefilled field