Update automation action
PUT /api/v3/automation_actions/{id}
Request conventions
API key or OAuth2 access token. See Authentication.
Use your account domain and token in copied requests. Request values and conditional fields must satisfy your account’s validation rules.
URL settings
The part before .aha.io. Leave blank to use the example domain.
ID of the automation action
Request fields
Send only the fields you want to change inside a JSON record object. This applies to both PUT and PATCH.
Only writable fields for this endpoint are listed. Required flags reflect the endpoint schema; record and workspace validation also applies.
| Field | Type | Response field |
|---|---|---|
Configuration for update_field and update_related_field actions. | object | field |
Accepted value shape and constraintsType: custom_field_definition_idType: field_worksheet_rowType: actionType: Allowed values: "set", "cleared", "copy", "add", "remove" sub_actionType: Allowed values: "same_day", "next_day", "2_days_after", "3_days_after", "4_days_after", "5_days_after", "1_week_after", "2_weeks_after", "3_weeks_after", "1_month_after", "2_months_after", "3_months_after", "6_months_after", "12_months_after", "flagged", "flagged_with_comment" valuesType: Array item shapeType: sourceType: Allowed values: "name", "status", "team_status", "type", "initiative", "assigned_to_user", "created_by_user", "epic", "end_date", "start_date", "tags", "goals", "key_results", "release", "watchers", "iteration", "record_risk", "progress", "initiative_name", "initiative_roll_up_initiative", "initiative_status", "initiative_time_frame", "initiative_end_date", "initiative_start_date", "initiative_goals", "initiative_key_results", "initiative_assigned_to_user", "initiative_created_by_user", "initiative_watchers", "initiative_progress", "initiative_record_risk", "release_name", "release_owner", "release_created_by_user", "release_status", "release_release_date", "release_development_started_on", "release_external_release_date", "release_initiatives", "release_goals", "release_key_results", "release_watchers", "release_progress", "epic_name", "epic_status", "epic_team_status", "epic_initiative", "epic_assigned_to_user", "epic_created_by_user", "epic_end_date", "epic_start_date", "epic_tags", "epic_goals", "epic_key_results", "epic_release", "epic_watchers", "epic_iteration", "epic_progress", "epic_record_risk", "owner", "release_date", "development_started_on", "external_release_date", "initiatives", "feature_name", "feature_status", "feature_team_status", "feature_type", "feature_initiative", "feature_assigned_to_user", "feature_created_by_user", "feature_epic", "feature_end_date", "feature_start_date", "feature_tags", "feature_goals", "feature_key_results", "feature_release", "feature_watchers", "feature_iteration", "feature_record_risk", "feature_progress", "categories", "visibility", "roll_up_initiative", "time_frame", "rollup_goals", "target_metric", "starting_metric", "current_metric", "task_status", "due_date", "release_phase_name", "release_phase_start_date", "release_phase_end_date", "release_phase_progress", "release_phase_release", "requirement_name", "requirement_status", "requirement_team_status", "requirement_assigned_to_user", "requirement_created_by_user", "requirement_end_date", "requirement_start_date", "requirement_iteration", "requirement_record_risk", "approval_groups", "assignees", "collections", "current_date", "custom_field" source_custom_field_definition_idType: source_worksheet_rowType: related_record_typeType: Allowed values: "feature", "release", "release_phase", "epic", "requirement", "idea", "initiative", "goal", "key_result", "task", "approval", "work_request" fieldType: Allowed values: "name", "status", "team_status", "type", "initiative", "assigned_to_user", "created_by_user", "epic", "end_date", "start_date", "tags", "goals", "key_results", "score", "release", "watchers", "team", "iteration", "record_risk", "progress", "initial_estimate", "detailed_estimate", "record_links", "custom_field", "owner", "release_date", "development_started_on", "external_release_date", "initiatives", "roll_up_initiative", "time_frame", "rollup_goals", "target_metric", "starting_metric", "current_metric", "duplicate_idea", "categories", "visibility", "num_endorsements", "num_organizations", "submitted_idea_portal", "parent", "collections", "task_status", "due_date", "approval_groups", "assignees" | ||
Configuration for create_comment and create_idea_admin_response actions. | object | comment |
Accepted value shape and constraintsType: bodyType: | ||
Configuration for create_requirement actions. | object | requirement |
Accepted value shape and constraintsType: nameType: bodyType: assigned_to_userType: Allowed values: "unassigned", "values", "custom_field", "assigned_to_user", "created_by_user", "owner", "initiative_assigned_to_user", "initiative_created_by_user", "release_owner", "release_created_by_user", "epic_assigned_to_user", "epic_created_by_user", "feature_assigned_to_user", "feature_created_by_user", "requirement_assigned_to_user", "requirement_created_by_user" custom_field_definition_idType: valueType: | ||
Configuration for create_task actions. | object | task |
Accepted value shape and constraintsType: typeType: Allowed values: "task", "approval", "work_request" nameType: bodyType: due_dateType: Allowed values: "same_day", "next_day", "2_days_after", "3_days_after", "4_days_after", "5_days_after", "1_week_after", "2_weeks_after", "3_weeks_after", "1_month_after", "2_months_after", "3_months_after", "6_months_after", "12_months_after" assigned_to_userType: Allowed values: "unassigned", "values", "custom_field", "assigned_to_user", "created_by_user", "owner", "initiative_assigned_to_user", "initiative_created_by_user", "release_owner", "release_created_by_user", "epic_assigned_to_user", "epic_created_by_user", "feature_assigned_to_user", "feature_created_by_user", "requirement_assigned_to_user", "requirement_created_by_user" custom_field_definition_idCustomFieldDefinition Type: idType: nameType: internal_nameType: keyType: typeType: Allowed values: "text", "note", "number", "date", "url", "checkbox", "attachment", "predefined_choice_list", "editable_choice_list", "predefined_tags", "tags", "conditional_choice", "scorecard", "worksheet", "many_to_many_relationship", "many_to_one_relationship", "one_to_many_relationship", "users", "workspaces", "goals", "initiatives", "key_results", "releases", "epics", "features", "ideas", "idea_categories", "organizations", "idea_created_by", "competitors", "personas", "creative_briefs" record_typeType: Allowed values: "project", "feature", "epic", "requirement", "release", "release_phase", "initiative", "goal", "key_result", "idea", "idea_endorsement", "idea_organization", "idea_user", "creative_brief", "persona", "competitor", "capacity_investment", "team", "program_increment", "task", "document", "study", "interview", "custom_table" custom_tableCustomObjectDefinition Type: idType: nameType: keyType: created_atType: updated_atType: descriptionNote Type: idType: bodyType: editor_versionType: created_atType: updated_atType: prefixType: suffixType: use_delimitersType: labelType: displayType: Allowed values: "plain_text", "colored_labels" scopeType: Allowed values: "account", "project_line", "project", "related" supported_file_typesType: Array item shapeType: linked_custom_tableCustomObjectDefinition Type: idType: nameType: keyType: created_atType: updated_atType: project_scopeType: Allowed values: "account", "project" scoring_systemScoringSystem Type: idType: nameType: created_atType: updated_atType: valuesType: Required properties: records, has_more. recordsType: Array item shapeAutomationRecordValueConfig Type: idType: typeType: urlType: has_moreType: next_urlType: | ||
Configuration for create_document actions. | object | document |
Accepted value shape and constraintsType: nameType: bodyType: note_template_idType: tag_idsType: Array item shapeType: inherit_tagsType: | ||
Configuration for create_custom_table_record actions. | object | custom_table_record |
Accepted value shape and constraintsType: link_custom_field_definition_idType: custom_table_idType: fieldsType: Array item shapeAutomationCustomTableFieldConfig Type: custom_field_definition_idType: field_worksheet_rowType: actionType: Allowed values: "set", "cleared", "copy", "add", "remove" sub_actionType: Allowed values: "same_day", "next_day", "2_days_after", "3_days_after", "4_days_after", "5_days_after", "1_week_after", "2_weeks_after", "3_weeks_after", "1_month_after", "2_months_after", "3_months_after", "6_months_after", "12_months_after", "flagged", "flagged_with_comment" valuesType: Array item shapeType: sourceType: Allowed values: "name", "status", "team_status", "type", "initiative", "assigned_to_user", "created_by_user", "epic", "end_date", "start_date", "tags", "goals", "key_results", "release", "watchers", "iteration", "record_risk", "progress", "initiative_name", "initiative_roll_up_initiative", "initiative_status", "initiative_time_frame", "initiative_end_date", "initiative_start_date", "initiative_goals", "initiative_key_results", "initiative_assigned_to_user", "initiative_created_by_user", "initiative_watchers", "initiative_progress", "initiative_record_risk", "release_name", "release_owner", "release_created_by_user", "release_status", "release_release_date", "release_development_started_on", "release_external_release_date", "release_initiatives", "release_goals", "release_key_results", "release_watchers", "release_progress", "epic_name", "epic_status", "epic_team_status", "epic_initiative", "epic_assigned_to_user", "epic_created_by_user", "epic_end_date", "epic_start_date", "epic_tags", "epic_goals", "epic_key_results", "epic_release", "epic_watchers", "epic_iteration", "epic_progress", "epic_record_risk", "owner", "release_date", "development_started_on", "external_release_date", "initiatives", "feature_name", "feature_status", "feature_team_status", "feature_type", "feature_initiative", "feature_assigned_to_user", "feature_created_by_user", "feature_epic", "feature_end_date", "feature_start_date", "feature_tags", "feature_goals", "feature_key_results", "feature_release", "feature_watchers", "feature_iteration", "feature_record_risk", "feature_progress", "categories", "visibility", "roll_up_initiative", "time_frame", "rollup_goals", "target_metric", "starting_metric", "current_metric", "task_status", "due_date", "release_phase_name", "release_phase_start_date", "release_phase_end_date", "release_phase_progress", "release_phase_release", "requirement_name", "requirement_status", "requirement_team_status", "requirement_assigned_to_user", "requirement_created_by_user", "requirement_end_date", "requirement_start_date", "requirement_iteration", "requirement_record_risk", "approval_groups", "assignees", "collections", "current_date", "custom_field" source_custom_field_definition_idType: source_worksheet_rowType: | ||
Configuration for send_email actions. | object | email |
Accepted value shape and constraintsType: toType: Allowed values: "values", "custom_field", "assigned_to_user", "created_by_user", "owner", "initiative_assigned_to_user", "initiative_created_by_user", "release_owner", "release_created_by_user", "epic_assigned_to_user", "epic_created_by_user", "feature_assigned_to_user", "feature_created_by_user", "requirement_assigned_to_user", "requirement_created_by_user" custom_field_definition_idCustomFieldDefinition Type: idType: nameType: internal_nameType: keyType: typeType: Allowed values: "text", "note", "number", "date", "url", "checkbox", "attachment", "predefined_choice_list", "editable_choice_list", "predefined_tags", "tags", "conditional_choice", "scorecard", "worksheet", "many_to_many_relationship", "many_to_one_relationship", "one_to_many_relationship", "users", "workspaces", "goals", "initiatives", "key_results", "releases", "epics", "features", "ideas", "idea_categories", "organizations", "idea_created_by", "competitors", "personas", "creative_briefs" record_typeType: Allowed values: "project", "feature", "epic", "requirement", "release", "release_phase", "initiative", "goal", "key_result", "idea", "idea_endorsement", "idea_organization", "idea_user", "creative_brief", "persona", "competitor", "capacity_investment", "team", "program_increment", "task", "document", "study", "interview", "custom_table" custom_tableCustomObjectDefinition Type: idType: nameType: keyType: created_atType: updated_atType: descriptionNote Type: idType: bodyType: editor_versionType: created_atType: updated_atType: prefixType: suffixType: use_delimitersType: labelType: displayType: Allowed values: "plain_text", "colored_labels" scopeType: Allowed values: "account", "project_line", "project", "related" supported_file_typesType: Array item shapeType: linked_custom_tableCustomObjectDefinition Type: idType: nameType: keyType: created_atType: updated_atType: project_scopeType: Allowed values: "account", "project" scoring_systemScoringSystem Type: idType: nameType: created_atType: updated_atType: valuesType: Required properties: records, has_more. recordsType: Array item shapeAutomationRecordValueConfig Type: idType: typeType: urlType: has_moreType: next_urlType: subjectType: bodyType: | ||
Response fields
Choose which fields to include in the response. Expand a field for examples and associated fields. Collections can only be returned on the top-level resource, not inside an associated resource.
Default response fields are returned until you select specific fields.
| Field | Type | Returned by default |
|---|---|---|
Unique record ID. | integer | Yes |
Automation that owns the action. | Automation | No |
Expand this association to browse its response fields. | ||
Type of the automation action. | string | No |
Allowed values: | ||
Date and time when the record was created. | date-time | No |
Date and time when the record was last updated. | date-time | No |
Configuration for update_field and update_related_field actions. | AutomationUpdateFieldConfig | No |
Expand this association to browse its response fields. | ||
Configuration for create_comment and create_idea_admin_response actions. | AutomationCreateCommentConfig | No |
Expand this association to browse its response fields. | ||
Configuration for create_requirement actions. | AutomationCreateRequirementConfig | No |
Expand this association to browse its response fields. | ||
Configuration for create_task actions. | AutomationCreateTaskConfig | No |
Expand this association to browse its response fields. | ||
Configuration for create_document actions. | AutomationCreateDocumentConfig | No |
Expand this association to browse its response fields. | ||
Configuration for create_custom_table_record actions. | AutomationCreateCustomTableRecordConfig | No |
Expand this association to browse its response fields. | ||
Configuration for send_email actions. | AutomationSendEmailConfig | No |
Expand this association to browse its response fields. | ||
Configuration for send_to_integration actions. | AutomationSendToIntegrationConfig | No |
Expand this association to browse its response fields. | ||
Search matches the start of a field path and includes matching associations’ subfields. Use a dotted path to search within a specific association.
Response field selection
Create and update responses also include fields submitted in the record body. Submitted association IDs return their associated response fields.
Return selected fields with a comma-separated fields parameter, or add a field to the defaults with fields=default,{field}. Expand an association above for its supported subfields and selection examples.
See field selection for details.
Response statuses
Error shape for 400, 401, 403, 404, 409
Type: object
error
Type: object
Required properties: status, code, message, request_id.
status
Type: integer
code
Type: string
message
Type: string
request_id
Type: string
Error shape for 422
Type: object
error
Type: object
Required properties: status, code, message, details, request_id.
status
Type: integer
Allowed values: 422
code
Type: string
Allowed values: "record.validation_failed", "record.cannot_delete"
message
Type: string
details
Type: array
Array item shape
Type: object
field
Type: string
message
Type: string
code
Type: string
request_id
Type: string
Response envelope and pagination
record: a single record. Fields are documented above.