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
| Flag | Description |
|---|---|
--event | Event name Required |
--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 |
Event properties file
Use--props to attach event properties to the event:
event-props.json

