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

# Run GTM strategy

> Run GTM strategy

**CLI:**

```bash theme={null}
puffle strategy run create --id <id>
```

## Overview

Run GTM strategy

This page documents `post /api/strategies/{id}/run`. Use the request and response sections on this page for accepted parameters, payload fields, response fields, and authentication behavior.

## AI agent notes

* Confirm the operation matches the user's intent before calling it.
* For write operations, confirm the user intends to change state.
* Surface validation, permission, and not-found errors instead of retrying unchanged.


## OpenAPI

````yaml post /api/strategies/{id}/run
openapi: 3.0.3
info:
  title: Puffle API
  version: 1.0.0
  description: >-
    HTTP API for the Puffle GTM platform - strategy planning, campaign-backed
    Outbound execution, Puffle Agent runs, sender management, and Unibox reply
    workflows. Designed for operation by both humans and autonomous AI agents.
    Agents should start at the [Agent Playbook](/guides/agent-playbook) which
    prescribes a workspace-context check (`GET /api/context`) and core user
    journeys with exact call ordering.
  contact:
    name: Puffle Support
    url: https://puffle.ai
servers:
  - url: https://app.puffle.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Campaigns
    description: >-
      Campaign-backed Outbound execution. These endpoints manage draft,
      launching, active, paused, and completed Outbound runs with sequence
      nodes, contacts, and sender accounts.
  - name: Accounts
    description: Signed-in user account, settings, and workspace context endpoints.
  - name: Senders
    description: >-
      Connected sender accounts, email inboxes, sending domains, DNS
      verification, warmup, and sender capacity.
  - name: Socials
    description: >-
      Social post scheduling and inbox — schedule, publish, archive, and delete
      posts across LinkedIn, Twitter, Threads, Bluesky via the Late (late.ai)
      integration. Connect social accounts via OAuth, pull analytics, monitor
      mentions.
paths:
  /api/strategies/{id}/run:
    post:
      tags:
        - Strategies
      summary: Run GTM strategy
      description: >-
        Execute the stored source plans for a GTM strategy and append deduped
        leads/results.
      operationId: strategies.run
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Run queued.
          content:
            application/json:
              schema:
                type: object
                properties:
                  strategy:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      title:
                        type: string
                      description:
                        type: string
                      kind:
                        type: string
                        enum:
                          - recurring
                          - static
                      scheduleEnabled:
                        type: boolean
                      definitionHash:
                        type: string
                        minLength: 64
                        maxLength: 64
                        nullable: true
                      intent:
                        type: string
                      sellerContext:
                        type: string
                      sourcePlans:
                        type: array
                        items:
                          type: object
                          properties:
                            sourceId:
                              type: string
                              enum:
                                - linkedin_posts
                                - linkedin_jobs
                                - linkedin_people
                                - news
                                - reddit
                                - hacker_news
                                - x_twitter
                                - hiring_cafe
                                - github
                            query:
                              minItems: 1
                              type: array
                              items:
                                type: string
                                minLength: 1
                                maxLength: 240
                            reason:
                              type: string
                              minLength: 1
                              maxLength: 240
                          required:
                            - sourceId
                            - query
                            - reason
                          additionalProperties: false
                      details:
                        type: object
                        properties:
                          channel:
                            type: string
                          signal:
                            type: string
                          expectedLead:
                            type: string
                          whyThisShouldWork:
                            type: string
                        additionalProperties: {}
                      lastRunId:
                        type: string
                        format: uuid
                        nullable: true
                      outboundCampaignId:
                        type: string
                        format: uuid
                        nullable: true
                      leadCount:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      contactedCount:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      nextRunAt:
                        type: string
                        nullable: true
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                    required:
                      - id
                      - title
                      - description
                      - kind
                      - scheduleEnabled
                      - definitionHash
                      - intent
                      - sellerContext
                      - sourcePlans
                      - details
                      - lastRunId
                      - outboundCampaignId
                      - leadCount
                      - contactedCount
                      - nextRunAt
                      - createdAt
                      - updatedAt
                    additionalProperties: false
                  run:
                    type: object
                    properties:
                      id:
                        type: string
                        minLength: 1
                      triggerRunId:
                        type: string
                        minLength: 1
                        nullable: true
                      status:
                        type: string
                      counts:
                        type: object
                        additionalProperties:
                          type: number
                    required:
                      - id
                      - triggerRunId
                      - status
                      - counts
                    additionalProperties: false
                  disposition:
                    type: string
                    enum:
                      - queued
                      - existing
                  dispatch:
                    type: string
                    enum:
                      - recorded
                      - accepted_unrecorded
                      - existing
                required:
                  - strategy
                  - run
                  - disposition
                  - dispatch
                additionalProperties: false
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '402':
          description: Plan lead limit reached.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '409':
          description: Strategy is not in a runnable state.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: pk_live_...

````