Join Slack
Powered by
Apologies if I missed this, but can Automations be...
# pacc-mar-12-13-2024
d
Daphne
03/12/2024, 4:35 PM
Apologies if I missed this, but can Automations be defined in a configuration file (so it can be under version control) or only within the Prefect UI?
👍 1
✅ 1
k
Kevin Grismore
03/12/2024, 4:36 PM
you can write them as JSON and then modify them through the API, I'll get you a link
✅ 1
gratitude thank you
1
Kevin Grismore
03/12/2024, 4:38 PM
api docs for creating an automation
https://app.prefect.cloud/api/docs#tag/Automations/operation/create_automation_api_accounts__account_id__workspaces__workspace_id__automations__post
Kevin Grismore
03/12/2024, 4:39 PM
and docs on the syntax and rules for writing automation trigger json
https://docs.prefect.io/latest/concepts/automations/#custom-triggers
d
Daphne
03/12/2024, 4:46 PM
This is great; thank you!
Open in Slack
Previous
Next