ByteChef LogoByteChef
Frontend (Signing Key JWT)User Workflows

Generate a new workflow from a natural language prompt

Generate a new workflow for the connected user from a natural language prompt using AI Copilot.

POST
/automation/workflows/generate

Authorization

jwtBearerAuth
AuthorizationBearer <token>

In: header

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/automation/workflows/generate" \  -H "Content-Type: application/json" \  -d '{    "prompt": "string"  }'
"string"

How is this guide?