| 开发者 |
glocalsaino
rafammoo |
|---|---|
| 更新时间 | 2026年11月7日 04:34 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
&email=…) become fields.Authorization: Bearer … is supported too).({{price}} * {{quantity}}) * 1.21, with rounding and functions (round, min, max, abs…). The result can be used by the next actions, e.g. in an email.{{field_name}}.
Admin screens
/wp-content/plugins/ or install it from the Plugins screen.At glocalsaino.com/automationsbasedontriggers/documentacion: installation, every trigger, condition and action explained, fields and placeholders, tables, shortcodes, logs and retries, settings and more answers.
Only for the Contact Form 7 trigger. The webhook trigger works without it.
Copy the URL shown in the automation's Trigger section. Send the keys you configured as query string parameters (?email=...&name=...), as a form body or as a JSON body, using GET, POST or PUT. Nested JSON keys are available with dots, for example customer.email.
The URL contains a random 32-character key that identifies the automation. Treat it like a password. You can generate a new URL at any time from the automation screen; the old one stops working immediately. For stronger protection, enable the header token, the IP allowlist and / or the HMAC signature in the automation's Trigger section.
If the sender is Stripe, Shopify, WooCommerce or GitHub, use the signature with its preset. If the sender is a generic tool or a developer, the header token is the easiest one to set up. Use the IP allowlist when the sender calls from fixed IP addresses.
Contact Form 7 sends forms without the WordPress session check, so by default every visitor looks logged out. For forms whose automations use a condition on the logged-in visitor, the plugin adds the standard WordPress REST nonce to the form so the session is recognised. If you cache pages for logged-in users, exclude the pages with those forms from the cache.
No: webhook calls come from an external server, not from a visitor's browser. Use a user condition identified by a field that contains the user's email or username instead.
Every time the trigger fires and the conditions are met, the automation's actions run and the counter increases by one. When a maximum number of runs is set, the automation stops after reaching it.
Scheduled actions are run by WP-Cron, which WordPress triggers on page visits. On sites with little traffic they may run some minutes late. For exact timing, set up a real cron job for wp-cron.php (most hosts offer this).
Search engines and link previews are ignored by default (you can turn this off), and repeated clicks of the same visitor within 10 seconds count once. Some corporate email scanners open links like a normal browser and cannot be detected.
CSV files (comma, semicolon, tab or pipe separated; UTF-8 or Windows / Latin-1 encoding) and Excel .xlsx files (the first sheet). The first row must contain the column titles; each title becomes a field name ("Fecha de alta" → fecha_de_alta). Old .xls files must be saved as .xlsx or .csv first. Reading .xlsx files needs the PHP zip and XML extensions, which almost every host has.
"Once for the whole file" runs the automation one time: the "Add rows to a table" action adds every row of the file, and the other actions get the file name and the number of rows. "Once for each row" runs it for every row, so each action (an email, a webhook, a calculation…) gets the columns of that row.
Check that the website is listed in the widget's "Websites that can show the widget" (or leave the list empty to allow any site), and that no security plugin or server rule on your site sends an "X-Frame-Options" header for every page, which forbids showing any page inside an iframe.
Yes, as with any webhook or public form: whoever knows the address can send requests to it directly. The list of websites decides where browsers display the widget, not where requests come from. That is why every public trigger has limits: links and buttons ignore repeated clicks, widgets need a single-use code and pass anti-spam checks, upload forms have a per-connection limit, and every automation has an hourly limit for anonymous visitors (Settings → Public triggers). In an email action, each {{field}} in the recipient gives at most one address, so a visitor cannot add recipients. Treat the received values as untrusted, for example by checking them with conditions.
No. Inside an iframe on another website, browsers do not send your site's login cookies, so widget visitors are always anonymous. To identify a user, ask for their email in a field and use a user condition identified by that field.
It runs again only the actions that failed in that execution, with the same event data. Calculations and formats are recomputed so their results are available again; waits are skipped. Actions that succeeded are not repeated, the run counter does not change and the conditions are not evaluated again. The retry is recorded as a new log entry linked to the original. If you edited or removed a failed action after the event, that action is not retried.
Yes. The Logs screen shows the event with the result "Conditions not met", and the run counter does not increase.