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

# Trigger Native Integration

> Triggers CRM integration workflows for a conversation (fire-and-forget). Uses deterministic workflow IDs for deduplication.



## OpenAPI

````yaml /api-reference/openapi.json post /conversations/{id}/trigger-native-integration
openapi: 3.0.1
info:
  title: Attention Service V2
  description: Attention Service API V2
  termsOfService: https://www.attention.com/terms-of-use
  contact:
    name: Attention Team
    url: https://docs.attention.com/welcome
    email: support@attention.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.8.0
servers:
  - url: https://api.attention.tech/v2
security:
  - APIKeyHeader: []
paths:
  /conversations/{id}/trigger-native-integration:
    post:
      tags:
        - Conversation
      summary: Trigger Native Integration
      description: >-
        Triggers CRM integration workflows for a conversation (fire-and-forget).
        Uses deterministic workflow IDs for deduplication.
      operationId: triggerNativeIntegration
      parameters:
        - name: id
          in: path
          description: Conversation ID
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TriggerNativeIntegrationRequest'
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/TriggerNativeIntegrationRequest'
        required: false
      responses:
        '200':
          description: Workflows triggered successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerNativeIntegrationResponse'
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/TriggerNativeIntegrationResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Conversation not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - APIKeyHeader: []
components:
  schemas:
    TriggerNativeIntegrationRequest:
      type: object
      properties:
        workflowIds:
          type: array
          description: Specific integration workflow IDs to trigger (empty = all enabled)
          items:
            type: string
        fieldKeys:
          type: array
          description: Specific field keys to push (empty = all confirmed)
          items:
            type: string
        autoExecution:
          type: boolean
          description: 'Execution mode: true = aggressive retry, false = conservative'
    TriggerNativeIntegrationResponse:
      type: object
      properties:
        workflows:
          type: array
          items:
            $ref: '#/components/schemas/WorkflowRunInfo'
    Error:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier for the error.
        status:
          type: string
          description: >-
            The HTTP status code applicable to this problem, expressed as a
            string value.
        code:
          type: string
          description: An application-specific error code, expressed as a string value.
        title:
          type: string
          description: A short, human-readable summary of the problem.
        detail:
          type: string
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
        source:
          type: object
          properties:
            pointer:
              type: string
            parameter:
              type: string
        meta:
          type: object
          properties: {}
      example:
        id: not_found_error
        status: '404'
        code: '404'
        title: Not Found Error
        detail: The requested resource was not found
        source:
          pointer: /data/attributes/id
    WorkflowRunInfo:
      type: object
      properties:
        workflowId:
          type: string
        runId:
          type: string
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      name: Authorization
      in: header

````