Backend (API Key)User Workflows
Generate a new workflow from a natural language prompt
Generate a new workflow for a connected user identified by external user id from a natural language prompt using AI Copilot.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
externalUserId*string
The external user id.
Header Parameters
X-Environment?string
The environment.
Value in
- "DEVELOPMENT"
- "STAGING"
- "PRODUCTION"
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/string/automation/workflows/generate" \ -H "Content-Type: application/json" \ -d '{ "prompt": "string" }'"string"How is this guide?