Today we're introducing the AI agent function for use in Knock workflows and broadcasts.
How it works
The AI agent function sends a prompt to an AI model of your choice and makes the response available in your workflow state. You can use it to enrich data, personalize messaging, and bring context into your messaging flows.
Common use cases include:
- Running research to enrich and store user and company data.
- Personalizing messaging to drive higher conversion rates.
- Summarizing batch content into concise digests.
AI can help you generate a comprehensive prompt from scratch, or you can choose from one our prompt templates. You can structure your response format using a JSON schema, so your response comes back clean, typed, and ready to use downstream.
When the agent returns a response, it becomes available in workflow run data and can be referenced in subsequent steps and templates. This allows you to store data in Knock or use it to personalize your messaging.
Agent pricing
The AI agent function uses a credit model. Agent usage consumes credits according to your selected model and the number of tokens consumed by your agent.
All Knock plans come with an included amount of credits, after which you can pre-purchase top ups, configure auto-replenishment rules, and set max spend limits for your account.
Get started
The AI agent function is now available for all non-enterprise customers. Developer plans include 500 free credits per month and starter plans include 2,000.
If you are an enterprise customer and want access, please get in touch.
You can learn more in our agent function docs.
