🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Elementor Atomic Form Actions Setup Guide

Updated 9 min read Elementor Integrations A–Z
On this page
  1. What you need
  2. Install and activate
  3. Find your forms
  4. Field keys
  5. Redirect after submit
  6. Safe redirects
  7. Reply-To from a field
  8. Conditional e-mail routing
  9. Spam protection
  10. Webhook
  11. Hook for developers and other add-ons
  12. How it works next to Elementor
  13. Log
  14. Troubleshooting
  15. Uninstall
  16. Good to know

Elementor Atomic Form Actions adds the actions the Elementor 4 Atomic Form does not have yet: a redirect to a thank-you page with field values in the address, a Reply-To taken from the visitor’s e-mail field, conditional e-mail routing, spam protection with a honeypot and a time trap, a signed webhook and a developer hook for your own code. This guide explains what you need, how to set up each action, how the add-on works next to the form’s own actions, and what to check when something does not behave as expected.

What you need

You need Elementor 4.0 or newer with Elementor Pro, because the Atomic Form element is part of Elementor Pro. New sites created with Elementor 4 use the Atomic editor by default; older sites can switch it on. The add-on runs on WordPress 6.6 or newer and PHP 7.4 or newer. It does not change the classic Form widget: forms built with the classic widget keep working exactly as before, and their own actions stay where they are.

Only administrators (the manage_options capability) can open the settings screen and change the actions. Visitors never see any of the settings.

Install and activate

  • Upload the add-on zip on Plugins → Add New → Upload Plugin and activate it.
  • Open Settings → Atomic Form Actions → Settings and activate your GravityExtra license key. Until the license is active, no action runs on your forms and the front-end script is not loaded.
  • Updates arrive in the normal WordPress updates screen while the license is active.

Find your forms

The Forms tab lists every Atomic Form saved in your Elementor pages, posts and templates, with the page it is on, the number of fields and the actions you switched on. Draft and private pages are listed too, so you can prepare the actions before you publish. Click Add actions (or Edit actions) next to a form.

The Forms tab of Atomic Form Actions: the Project enquiry Atomic Form on the Contact page with its Redirect, Reply-To, Routing, Spam protection and Webhook actions
Every Atomic Form on the site, with the actions switched on for each one.

Each form is identified by the page it lives on and the ID of the form element. If you duplicate a page, the copy gets its own form and needs its own actions. If you delete a form from the page, its actions stay in the list, marked as not found, until you remove them.

Field keys

Rules and tags name a field by its key. A key can be the field’s name, its label (for example Email or First name, upper or lower case) or the ID of the field element. The easiest way to see them is to send the form once: the edit screen then shows the keys of the latest submission at the top. Only the keys are kept, never the values that were typed.

Redirect after submit

Switch on Redirect after submit and enter the address of your thank-you page. A path such as /thank-you/ or a full address of your own site both work. You can put field values into the address with {field:key} tags, for example /thank-you/?plan={field:Plan}, and you can list fields in Add fields to the URL to append them as ?first_name=Anna&email=.... The thank-you page can then greet the visitor by name or show the plan they picked.

Redirect after submit to /thank-you/ with the Department field in the URL and First name and Email added, and Reply-To taken from the Email field
Redirect with field values in the URL, and the visitor’s address as Reply-To.

The Delay lets the form show its own success message for a moment before the browser moves on; 1500 milliseconds is the default, 0 redirects at once.

Safe redirects

A redirect that can be steered by a visitor is a classic way to abuse a website, so the add-on is strict about it. Values from fields are always URL-encoded before they go into the address, so a visitor who types //other-site.example into a field cannot change where the browser goes. The final address must be on your own site, or on a host you list on the Settings tab under Allowed redirect hosts (for example a shop or a booking system you own). Anything else is refused and written to the log: other sites, addresses starting with //, addresses with a user name before the host, and anything that is not an ordinary web address. The front-end script checks the address a second time before it follows it.

Reply-To from a field

With Reply-To from a field, every e-mail sent for a submission carries the visitor’s address as Reply-To, so you can answer straight from your inbox. Enter the key of the e-mail field, and optionally a name such as {field:First name} {field:Last name}. This applies to the form’s own Email action and to the routed e-mail of this add-on. If the field is empty or does not hold one valid address, no Reply-To is added; line breaks and lists of addresses are refused, so the header cannot be used to add extra recipients.

Conditional e-mail routing

Routing sends a notification to different people depending on the answers. Each rule reads if field … condition … value, send to …. The conditions are: is, is not, contains, does not contain, starts with, ends with, is greater than, is less than, is empty and is not empty. Text comparisons ignore upper and lower case, and “is” also matches one ticked option of a group of checkboxes.

Conditional e-mail routing rules: Department is Sales, Support or Billing, Budget greater than 50000, a fallback address, subject and message with tags
Routing rules: the first matching rule decides who gets the notification.
  • Use the first matching rule sends to the recipients of the first rule that matches, from top to bottom.
  • Send to every matching rule sends one e-mail to the recipients of all matching rules together, for example Sales plus a director for large budgets.
  • If no rule matches, send to is the fallback address. Leave it empty to send nothing in that case.
  • The subject and message accept {all_fields}, {field:key}, {form_name}, {page_url} and {date}.

The routed e-mail is sent in addition to the form’s own Email action. If routing should replace it, switch the form’s Email action off in the Elementor editor. Invalid addresses in a rule are dropped when you save, so a typo cannot stop the other recipients from getting the e-mail.

Spam protection

Spam protection stops bots before Elementor processes the submission: a blocked submission is not e-mailed, not stored in Submissions and not sent to any webhook. Two checks are available and both are on by default once you switch the section on.

  • Honeypot: a hidden field that people never see. Bots that fill in every field fill it in too and are blocked. A request that does not come from the page at all (so the honeypot is missing) is blocked as well.
  • Time trap: the page carries a signed token with the time it was made. A submission sent faster than the minimum number of seconds (3 by default), or without a valid token, is blocked. A token cannot be forged without the secret key of your site.
  • Maximum page age (optional) also blocks tokens older than a number of hours. The token is refreshed when a visitor starts typing, so pages served from a cache keep working.
  • Blocked submissions can show the form’s own error message, or pretend the form was sent (a silent drop) so that bots get no hint.
Spam protection with honeypot and time trap, and a signed JSON webhook with an extra header, a hidden signing secret and an optional condition
Spam protection and the signed webhook of one form.

Webhook

The webhook posts every accepted submission to an address you choose, such as an automation tool, a CRM endpoint or your own application. The JSON body contains the event name, the time, the form (page ID, form ID, form name, and optionally the page address and title) and the fields by key, plus the full list of fields with their labels and types. You can switch to a form-encoded body if the receiver needs it.

  • Extra headers: one Name: value per line, for example an authorization header. Headers that would break the request are ignored.
  • Signing secret: when set, each request carries X-GE-Signature: t=<time>,v1=<HMAC-SHA256> computed over <time>.<body>, so the receiver can check that the request came from your site and was not changed. The secret is shown as a password field.
  • Only when: an optional condition, for example send only when Department is Sales.
  • Addresses on your local network or private ranges are refused, so a form cannot be used to reach internal systems. The visitor’s submission still succeeds when the receiver is down; the log shows the HTTP status.

Hook for developers and other add-ons

After Elementor accepts a submission, the add-on fires geafa_atomic_form_submitted with a record object. $record->get( 'fields' ) returns the fields by key with id, type, title and value, $record->get_field_value( 'email' ) returns one value, $record->get_form() returns the page ID, form ID and form name, and $record->get_form_settings( 'key' ) returns the key = value settings you enter in the form’s hook section. Spam that was blocked fires geafa_atomic_form_spam_blocked instead. The hook can be switched off per form.

How it works next to Elementor

The Atomic Form’s own script sends the submission to WordPress with Elementor’s security token. The add-on looks at that same request just before Elementor Pro handles it: it checks the token and the form, runs the spam checks and sets the Reply-To. Only when Elementor answers that the submission succeeded does the add-on send the routed e-mail, call the webhook, fire the hook and add the redirect address to Elementor’s answer. When Elementor answers with an error, for example a required field, nothing of the add-on runs and the visitor sees the form’s own error state.

Log

The Log tab shows the latest 100 events per site: spam blocked and why, redirect sent or refused, routing with the number of recipients and the matching rules, webhook status. Field values are never written to the log. Use Clear log to empty it.

Troubleshooting

  • No action runs: check that the license is active, that the form is listed with its actions on the Forms tab, and that the page was published after the form was added.
  • The redirect does not happen: look at the Log tab. “refused” means the address is not on your site or an allowed host. Also check that no other plugin removes the add-on’s front-end script.
  • Every submission is blocked as spam: a page optimisation plugin may delay or remove the add-on’s script, or the minimum seconds may be too high for a very short form. Try 2 seconds, or switch the time trap off and keep the honeypot.
  • A rule never matches: send the form once and copy the key shown at the top of the edit screen; for a select or a group of checkboxes compare against the value, not the label.
  • The webhook fails: the log shows the HTTP status or “unsafe_or_invalid_url” for a local or private address.

Uninstall

Deleting the plugin removes its settings, the form actions, the log, the stored field keys and the license key. Your Elementor pages, forms and submissions are not touched.

Good to know

  • Elementor does not offer a published PHP interface for Atomic Form actions yet, so the actions are set up on the add-on’s own settings screen instead of the Elementor panel.
  • File upload fields are listed in webhooks and e-mails by key only; the files themselves are handled by Elementor.
  • With Elementor 4.0, the Atomic Form sends text inputs and text areas; drop-downs, radio buttons and checkbox groups are sent from Elementor 4.1. Rules on those fields need Elementor 4.1 or newer.
  • The add-on makes no outside connection of its own beyond the license and update checks and the webhook address you set.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr