Form Submitted
Trigger a workflow when a Gravity Forms form is submitted.
Overview
The Form Submitted trigger fires when a visitor submits a Gravity Forms form on your site. This is one of the most versatile triggers for lead capture and user interaction workflows.
When It Fires
- Visitor submits any form
- AJAX or standard submission
- Multi-page form completed
- Form submitted via API
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
| Form | select | Yes | Select the specific form |
| Field Conditions | multiple | No | Filter by field values |
Available Data
Entry Information
| Variable | Type | Description |
|---|---|---|
{{Trigger.entry_id}} | integer | Entry ID |
{{Trigger.form_id}} | integer | Form ID |
{{Trigger.form_title}} | string | Form name |
{{Trigger.date_created}} | string | Submission timestamp |
{{Trigger.ip}} | string | Submitter’s IP address |
{{Trigger.source_url}} | string | Page where form was submitted |
{{Trigger.user_agent}} | string | Browser information |
User Information
| Variable | Type | Description |
|---|---|---|
{{Trigger.user_id}} | integer | User ID (if logged in) |
{{Trigger.user_email}} | string | User email (if logged in) |
Form Fields
Access form fields by their ID:
| Variable | Type | Description |
|---|---|---|
{{Trigger.fields.1}} | string | Field ID 1 value |
{{Trigger.fields.2}} | string | Field ID 2 value |
{{Trigger.fields.3.first}} | string | Name field first name |
{{Trigger.fields.3.last}} | string | Name field last name |
Common Field Types
| Field Type | Access Pattern |
|---|---|
| Single Line Text | {{Trigger.fields.1}} |
{{Trigger.fields.2}} | |
| Name | {{Trigger.fields.3.first}}, {{Trigger.fields.3.last}} |
| Address | {{Trigger.fields.4.street}}, {{Trigger.fields.4.city}} |
| Phone | {{Trigger.fields.5}} |
| Checkbox | {{Trigger.fields.6}} (comma-separated) |
| Radio/Select | {{Trigger.fields.7}} |
Example Workflows
Contact Form Response
Auto-respond to contact forms:
- Trigger: Form Submitted
- Form: Contact Us
- Action: Send Email
- To:
{{Trigger.fields.2}}(email field) - Subject:
Thanks for reaching out! - Body: Confirmation message
- To:
Lead to CRM
Add leads to your CRM:
- Trigger: Form Submitted
- Form: Lead Capture
- Action: Airtable - Create Record
- Name:
{{Trigger.fields.1.first}} {{Trigger.fields.1.last}} - Email:
{{Trigger.fields.2}} - Company:
{{Trigger.fields.3}} - Source:
{{Trigger.source_url}}
- Name:
Newsletter Signup
Subscribe to Mailchimp:
- Trigger: Form Submitted
- Form: Newsletter Signup
- Action: Mailchimp - Subscribe
- Email:
{{Trigger.fields.1}} - Tags: “website-signup”
- Email:
Internal Notification
Alert team of new submissions:
- Trigger: Form Submitted
- Action: Send Email
- To:
team@yoursite.com - Subject:
New {{Trigger.form_title}} submission - Body: Entry details
- To:
Conditional Routing
Route based on selection:
- Trigger: Form Submitted
- Form: Support Request
- Condition: Department field = “Sales”
- Action: Send Email to sales@yoursite.com
Finding Field IDs
To find field IDs in Gravity Forms:
- Edit your form in Gravity Forms
- Click on a field
- Look for “Field ID” in the settings panel
- Use this ID in your workflow variables
Best Practices
- Map field IDs carefully when setting up workflows
- Test with sample submissions first
- Use conditional routing for complex forms
- Store entries in external systems for backup