---
title: "POST /workflows/{id}/actions"
method: POST
path: "/workflows/{id}/actions"
tags: ["Workflows"]
---

# POST /workflows/{id}/actions

`POST /workflows/{id}/actions`

POST operation for /workflows/{id}/actions

## Path parameters

- `id` string, required

## Request body

- WorkflowActionSerializer
  - `id` integer
  - `action_type` 'send_email' | 'slack' | 'update_customer_fields' | 'update_map_fields' | 'update_map_variables' | 'refresh_map_tasks' | 'create_map', required
  - `action_type_display` string
  - `config` object
  - `trigger` string

## Response `200`

Successful response

- WorkflowActionSerializer
  - `id` integer
  - `action_type` 'send_email' | 'slack' | 'update_customer_fields' | 'update_map_fields' | 'update_map_variables' | 'refresh_map_tasks' | 'create_map', required
  - `action_type_display` string
  - `config` object
  - `trigger` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.dev/onboard/apis/onboard-api-complete-specification.md) · [All operations](https://skmtc.dev/onboard/apis/onboard-api-complete-specification/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onboard/onboard-api-complete-specification/revisions/3d0f0a6a632d/schema)
