ByteChef LogoByteChef
Frontend (Signing Key JWT)User Workflows

Update an existing workflow from a natural language prompt

Update an existing workflow for the connected user from a natural language prompt using AI Copilot.

POST
/automation/workflows/{workflowUuid}/generate

Authorization

jwtBearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

workflowUuid*string

The uuid of the workflow to update.

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

How is this guide?