Skip to main content
Activepieces is an open-source automation platform. With the built-in CometAPI connector, you can add AI steps to any workflow in seconds.

Prerequisites

Setup

1

Get your CometAPI API key

Log in to the CometAPI dashboard. Click Add API Key and copy your key.
CometAPI dashboard — Add API Key button
CometAPI API key details and base URL
2

Create a flow and add the CometAPI step

In your Activepieces project, click Create FlowFrom Scratch. Click the + button on the canvas, search for cometapi, and select Ask CometAPI.
Activepieces canvas with the + button to add a step
Search results showing the CometAPI connector
Ask CometAPI step selected in the connector list
3

Configure the CometAPI step

Paste your API key into the API Key field. Select the current model you want to use and fill in your prompt.
CometAPI step — API key and model selection
Prompt configuration for the Ask CometAPI step
4

Test the flow

Click Test to run the step. A successful response confirms the integration is working.
Successful test response from the CometAPI step
If the test fails, verify your API key is correct and your account has available balance. Contact CometAPI support if the issue persists.