Trigger
Structure
|- trigger
|- [trigger name]
|- version
|- [version name]
|- create.js
|- data.json
|- delete.js
|- trigger.js
|- data.json
Trigger configuration on data.json
requires following basic structure
{
"id": "d7ed05f9-a9f9-484a-a7c1-bacb67c3efc7",
"name": "email.labeled"
}
If id
is not provided, CLI will autogenerate it and insert it into the file before creating a new trigger.
If id
is provided, CLI will update the trigger with that id
.
Helpful?