What it does
Send a Trigger's message within seconds, with no row: placeholders show as [row.<column>]. Tests don't count against the month. trigger_log shows the result.
Plans
Needs a paid plan: Basic, Pro or Ultra. On other plans your agent gets an error that says so. See Limits for what each plan includes.
Parameters
| Name | Type | About |
|---|---|---|
site_idrequired | string | The id of the site. list_sites gives the ids of your sites. |
namerequired | string | The Trigger to test. |
idempotency_key | string | Any unique string (1-200 printable ASCII). A retry with the same key and arguments returns the first call's result instead of running again. Same as the Idempotency-Key header. |
Example
Call test_trigger with these arguments:
{
"site_id": "01a1…",
"name": "new_invoice"
}
Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.
Related guides
- When to send, and whatTriggers: what starts them and what they send.