alex toney
07/01/2025, 2:59 PMMarvin
07/01/2025, 2:59 PMMarvin
07/01/2025, 3:00 PMCallWebhook
- Triggers a webhook call
2. CancelFlowRun
- Cancels a specific flow run
3. ChangeFlowRunState
- Modifies the state of a flow run
4. DeclareIncident
- Creates an incident report
5. DoNothing
- A no-op action
6. PauseAutomation
- Pauses an automation
7. PauseDeployment
- Pauses a deployment
8. PauseWorkPool
- Pauses a work pool
9. PauseWorkQueue
- Pauses a work queue
10. ResumeAutomation
- Resumes a paused automation
11. ResumeDeployment
- Resumes a paused deployment
12. ResumeWorkPool
- Resumes a paused work pool
13. ResumeWorkQueue
- Resumes a paused work queue
14. RunDeployment
- Triggers a deployment run
15. SendNotification
- Sends a notification
16. SuspendFlowRun
- Suspends a flow run
These actions can be used in your Terraform configurations to automate responses to various conditions in your Prefect environment. Each action serves a specific purpose in managing your workflows, deployments, and infrastructure.
You can find more details about automations in the Prefect documentation and see practical examples in the Prefect blog about automations and observability.alex toney
07/01/2025, 3:00 PMMarvin
07/01/2025, 3:00 PMMarvin
07/01/2025, 3:00 PMMitch Nielsen
07/01/2025, 3:49 PMDoNothing
-> do-nothing
• https://docs.prefect.io/v3/api-ref/rest-api/server/automations/create-automation#body-actions
• https://github.com/PrefectHQ/prefect/blob/0efc8d5417789ba9a27156e816f1ce28ac0924ee/src/prefect/events/actions.py#L25alex toney
07/01/2025, 3:53 PMMitch Nielsen
07/01/2025, 4:08 PMMitch Nielsen
07/01/2025, 4:27 PM