---
title: "Workflow run completed"
method: POST
path: "workflowRunEvents_webhook-workflow-run-completed"
---

# Workflow run completed

`POST workflowRunEvents_webhook-workflow-run-completed` (webhook)

Webhook for the `workflow-run.completed` event. For more info see [Webhooks Overview](https://docs.withpersona.com/webhooks).

## Headers

- `Persona-Signature` string
- `Persona-Webhook-Attempts-Made` integer
- `Persona-Webhook-Attempts-Left` integer
- `Persona-Webhook-First-Attempted-At` integer

## Payload

- object
  - `data` WebhooksWebhookWorkflowRunCompletedPayloadContentApplicationJsonSchemaData
    - `type` 'event'
    - `id` string: Unique identifier for this Event. Starts with `evt_`.
    - `attributes` WebhooksWebhookWorkflowRunCompletedPayloadContentApplicationJsonSchemaDataAttributes
      - `created-at` string, date-time: Datetime when the event was created.
      - `name` 'workflow-run.completed'
      - `payload` WebhooksWebhookWorkflowRunCompletedPayloadContentApplicationJsonSchemaDataAttributesPayload
        - `data` WorkflowRun: A Workflow Run object
          - `id` string
          - `attributes` InquiryIncludedObjectsItemsDiscriminatorMappingWorkflowRunAttributes
            - `completed-at` string, date-time, nullable
            - `created-at` string, date-time
            - `status` string
          - `relationships` InquiryIncludedObjectsItemsDiscriminatorMappingWorkflowRunRelationships
            - `creator` InquiryIncludedObjectsItemsDiscriminatorMappingWorkflowRunRelationshipsCreator
              - …
            - `workflow` InquiryIncludedObjectsItemsDiscriminatorMappingWorkflowRunRelationshipsWorkflow
              - …
            - `workflow-version` InquiryIncludedObjectsItemsDiscriminatorMappingWorkflowRunRelationshipsWorkflowVersion
              - …
          - `meta` InquiryIncludedObjectsItemsDiscriminatorMappingWorkflowRunMeta
            - `processing-time-seconds` number, double, nullable
        - `included` WorkflowRunIncludedObjectsItems[]
          - union
            - object: A Workflow object
              - …
            - object: A Workflow Version object
              - …
            - object: An Event object
              - …
            - object: A User object
              - …
            - object: A Scheduled Run object
              - …
      - `context` object: Additional context for the event. Always `{}` for `workflow-run.completed`.

## Acknowledgement `200`

Webhook received successfully

---

[API](https://skmtc.dev/withpersona/apis/withpersona-3.md) - [All operations](https://skmtc.dev/withpersona/apis/withpersona-3/llms.txt) - [OpenAPI document](https://skmtc.dev/withpersona/apis/withpersona-3/revisions/0a3310d5046f?raw)
