> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hotfix.jobs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Product noun is jobs.
> MCP at https://rest.hotfix.jobs/mcp is the hiring contract for agents with a company API key.
> Do not invent unpublished REST, hiring stats, or webhooks.
> Do not mention Greenhouse, Ashby, Quick Apply, or claim.
> Creating a draft, offer, or booking link does not send email.

# update_automation

> Patch one Fixed hiring automation. Only set fields change. Pass clear_job true to drop the job scope. Does not send email. MCP tool: update_automation.



## OpenAPI

````yaml /openapi.json patch /v1/employer/automations/{automation_id}
openapi: 3.1.0
info:
  title: Hotfix hiring API
  version: 1.0.0
  description: >-
    Employer hiring surface under /v1/employer. Most routes take an employer
    session Bearer token. GET resume also accepts a company API key (hf_…).
    Agents should prefer MCP at https://rest.hotfix.jobs/mcp with the same key.
    This is not the public catalog spec at hotfix.jobs/openapi.json, and it is
    not a dump of rest.hotfix.jobs/openapi.json.
servers:
  - url: https://rest.hotfix.jobs
    description: Production
security: []
tags:
  - name: Applications
  - name: Jobs
  - name: Interviews
  - name: Offers
  - name: Mail
  - name: Automations
paths:
  /v1/employer/automations/{automation_id}:
    patch:
      tags:
        - Automations
      summary: update_automation
      description: >-
        Patch one Fixed hiring automation. Only set fields change. Pass
        clear_job true to drop the job scope. Does not send email. MCP tool:
        update_automation.
      operationId: update_automation
      parameters:
        - name: automation_id
          in: path
          required: true
          description: Automation UUID.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                trigger:
                  type: object
                  additionalProperties: true
                condition_group:
                  type: object
                  additionalProperties: true
                branches:
                  type: object
                  description: >-
                    THEN. Object with key default whose value is the action
                    list.
                  properties:
                    default:
                      type: array
                      items:
                        type: object
                        additionalProperties: true
                job_id:
                  type: string
                  description: Job UUID. Ignored when clear_job is true.
                status:
                  type: string
                  description: active, paused, or archived.
                clear_job:
                  type: boolean
                  description: true drops the job scope so the automation is company-wide.
                  default: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Employer session JWT from Better Auth.

````