> ## 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.

# run_automation

> Run one hiring automation now. Pass application_id when the flow needs an application snapshot. Does not send email. MCP tool: run_automation.



## OpenAPI

````yaml /openapi.json post /v1/employer/automations/{automation_id}/run-now
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}/run-now:
    post:
      tags:
        - Automations
      summary: run_automation
      description: >-
        Run one hiring automation now. Pass application_id when the flow needs
        an application snapshot. Does not send email. MCP tool: run_automation.
      operationId: run_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:
                application_id:
                  type: string
                  description: Optional application UUID for the snapshot.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                status: ran
                actions_taken:
                  - action: add_note
                    body: New apply in the inbox.
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Employer session JWT from Better Auth.

````