Automation data type
A GovTribe AI automation that runs one saved prompt when any configured schedule, government-record change, or workspace event occurs.
- Web: Automations
- MCP: Create automation MCP tool, Delete automation MCP tool, Search automations MCP tool, Update automation MCP tool
Notes
- Automation records describe saved GovTribe AI workflow definitions. One or more independent start nodes can run the same prompt, and each run can create a generated GovTribe AI conversation in the linked project.
reasoning_levelis the stable, model-independent reasoning setting for automation runs. Existing automations keep their saved value, omitted create requests usemedium, and an omitted update keeps the saved value. GovTribe selects the model for automated runs.start_nodesis the ordered multi-trigger contract.total_triggers_countreports the complete trigger count, whiletrigger_detailsremains a first-trigger compatibility snapshot.- A saved-search start node owns its lowercase
instant,daily, orweeklypollingfrequency. Its nullablenext_run_atis populated only while the workflow version ispublished; inactive versions keep their frequency without retaining a polling schedule. Both fields are independent of the saved search's email settings. broken_detailsandpaused_atcan appear in automation MCP responses when the active version is broken or paused. They are status metadata, not fields you request throughfields_to_return.- Pipeline-change automations can be scoped to one pipeline or left unscoped so they run when any accessible pipeline changes.
Attributes
| Field | Type | Attribute |
|---|---|---|
govtribe_id | string | GovTribe ID |
govtribe_type | string | GovTribe type |
govtribe_url | string | null | GovTribe URL |
name | string | Name |
prompt | string | Prompt |
reasoning_level | string | Reasoning level |
on_completion_notify_user | string | On completion notify user |
completion_notification_instructions | string | null | Completion notification instructions |
start_nodes | object[] | Start nodes |
total_triggers_count | number | Total triggers count |
trigger_details | object | null | Trigger details |
state | string | null | Automation state |
version_number | number | null | Version number |
last_ran_at | string | null | Last ran at |
govtribe_ai_project_name | string | null | GovTribe AI project name |
created_at | string | null | Created at |
updated_at | string | null | Updated at |
total_runs_count | number | Total runs count |
past_runs | object[] | Past runs |