Create a project
Create an empty directory, sign in, and initialize an Automate.ax project:automate.ax, creates automate.config.ts, and adds an example at automations/example.automation.ts.
Write the automation
Replace the example with this program:automations/example.automation.ts
automationdefines the program and its description.onHttpRequestdeclares the trigger that starts a run.sendEmaildeclares the action that performs work.
t template preserves the signal dependency inside the email body, so the action waits for the request data before it runs.
Keep side effects inside actions. The automation callback composes durable work synchronously, so do not await triggers or actions.
Deploy the project
Deploy every*.automation.ts file beneath automate.config.ts:
.automate/deployment.md.
Invoke the automation
Send a request to the deployed trigger URL:Continue building
- Learn how automations, triggers, actions, and signals work together.
- Use multiple accounts from the same service when a project needs separate identities.
- Call an external API with a custom action when the packaged actions do not cover your use case.