Curious if anyone has created an Event-based autom...
# proj-agent-canvas
e
Curious if anyone has created an Event-based automation in Agent Canvas yet? Would love any pointers here (and then eventually tweak our Automation docs if necessary)
q
I can put together a demo using legitimate event based automations (custom webhook events pointing to a local install) For an easier install and more generalizable for local setup, Tim is working on an event polling based solution atm
🙌 1
Steps I took • Spin up canvas:
AUTOMATION_LOCAL_API_KEY=my-secret-key-here AUTOMATION_BASE_URL=<https://ngrok-url> npm run dev
• Ask agent instructions to create a linear automation • Fire curl command to register webhook (agent gives instructions for this command) • Go to linear and create webhook • Ask agent to create the linear automation of choice Video demonstrates the final e2e test This is a bit painful however in terms of all the different steps I have to take. Upside is that its instantly responsive to events, and polling may take a bit longer And webhooks can have way too many events coming (e.g if you setup one for github). but polling can narrow down to events that the user is interested in which makes more sense for local setups