workflow_data_suggestions

Workflow ideas written by AI from the project's own events. Both calls are free for the customer.

post/api/projects/{project_id}/workflow_data_suggestions/generate/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/workflow_data_suggestions/generate/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

refreshboolean

Make new suggestions even when the cached ones are still valid.

Response

status'ready' | 'generating' | 'ai_not_approved' | 'unavailable' required
  • ready - Ready
  • generating - Generating
  • ai_not_approved - Ai Not Approved
  • unavailable - Unavailable
email_sender_readyboolean required

Whether the project has a verified email sender. Without one, an email workflow can be saved as a draft but cannot send until a sending domain is added and verified.

Changes