Skip to content

Commit

Permalink
chore:regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
Nishu Goel committed Jan 30, 2024
1 parent 47a8757 commit f8a3705
Showing 1 changed file with 24 additions and 9 deletions.
33 changes: 24 additions & 9 deletions docs/resources/flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,43 @@ Flow Resource
## Example Usage

```terraform
terraform {
required_providers {
epilot-automation = {
source = "epilot-dev/epilot-automation"
version = "0.1.0"
}
}
}
variable epilot_auth{
type = string
}
provider "epilot-automation" {
# Configuration options
epilot_auth= var.epilot_auth
}
resource "epilot-automation_flow" "my_flow" {
actions = [
"{ \"see\": \"documentation\" }",
]
enabled = false
entity_schema = "submission"
flow_name = "Handle contact form"
runs = 7
system_flow = true
enabled = true
flow_name = "Test automation flow"
triggers = [
{
activity_trigger = {
configuration = {
schema = "submission"
types = [
"UpdateMeterReading",
"CreateMeterReading",
]
}
type = "activity"
}
},
]
actions = ["{\"name\":\"Trigger Webhook\",\"type\":\"trigger-webhook\",\"created_automatically\":false,\"config\":{\"sync\":true,\"target_webhook_id\":\"uWw3PC2HaL5rmkkckbGp5u\"}}"]
}
```

Expand Down

0 comments on commit f8a3705

Please sign in to comment.