events command lets you send events to Loops to trigger automations.
send
Send an event for a contact identified by email or user ID.
Flags
Event properties file
Use--props to attach event properties to the event:
event-props.json
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Send events to trigger automations.
events command lets you send events to Loops to trigger automations.
sendloops events send <event> [--flags]
loops events send signup \
--email test@example.com
| Flag | Description |
|---|---|
--email | Contact email address (required if --user-id is not provided) |
--user-id | Contact user ID (required if --email is not provided) |
--props | Path to a JSON file of event properties |
--contact-props | Path to a JSON file of contact properties |
--list | Mailing list subscription as id=true|false (repeatable) |
--idempotency-key | Idempotency key to prevent duplicate sends |
--props to attach event properties to the event:
{
"plan": "Pro",
"trialDays": 14
}
loops events send signup \
--email test@example.com \
--props ./event-props.json
Was this page helpful?
