Overview
The Automation API provides a unified interface to execute actions across 30+ third-party integrations through a single endpoint. This document serves as a comprehensive reference for all available automation capabilities, authentication methods, integration-specific actions, and detailed parameter schemas with validations.Endpoint
Purpose
The automation/execute endpoint enables:- Unified Integration Access: Single API endpoint for multiple third-party services
- Agent Training: Comprehensive capability documentation for AI agent systems
- Workflow Automation: Execute actions across CRM, communication, data, and other platforms
- Context-Aware Operations: Support for call data, transcripts, and custom fields
Authentication
The Automation API supports two authentication methods:1. JWT Bearer Token (Standard)
Authenticate using a JWT token obtained from the Plura platform login. Header:- Standard user authentication
- User-scoped operations
- OAuth token resolution for integrations requiring OAuth
2. API Key (Superuser Mode)
Authenticate using an API key for superuser access, bypassing user-level restrictions. Header:- Server-to-server integrations
- Administrative operations
- Bypass user-level OAuth requirements
x-key, the request context is marked with superuser: true, allowing access to any automation node.
Request Structure
All requests follow a standard structure:Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
automationType | string | Yes | Integration identifier (e.g., slack, hubspot) |
nodeId | string | No | Unique identifier for the automation node |
userId | string | No | User context (auto-set from JWT if not provided) |
nodeParams | object | Yes | Integration-specific parameters |
nodeParams.action | string | Yes | Action to execute (e.g., post_message, create_contact) |
nodeParams.params | object | Yes | Action-specific parameters (see DTO schemas below) |
transcript | string | No | Conversation or call transcript |
context | object | No | Additional context metadata |
callData | object | No | Call data for custom field resolution |
Response Structure
Custom Fields & Call Data Resolution
The Automation API supports dynamic field resolution fromcallData using custom fields. This allows you to reference call-specific data in your automation parameters.
Usage
SetcustomFields in nodeParams.params to enable field resolution:
custom_field_1 and custom_field_2 from callData.fields before executing the automation.