---
title: "Contextual AI integration"
description: "Automate Contextual AI with Activepieces: 7 actions and 1 trigger, no code needed. Open source and free to start."
url: https://www.activepieces.com/pieces/contextual-ai
updated: 2026-11-08
---

> Every page on www.activepieces.com is available as markdown: add `.md` to the URL, or send `Accept: text/markdown`. Site index: https://www.activepieces.com/llms.txt

# Contextual AI integration

[Pieces](https://www.activepieces.com/pieces) › [Artificial Intelligence](https://www.activepieces.com/pieces/category/artificial_intelligence) › Contextual AI

Integrate with Contextual AI to automate document processing and AI workflows

- **Actions:** 7
- **Triggers:** 1
- **Auth:** Custom auth
- **License:** MIT, open source
- **Updated:** November 2026
- **Categories:** Artificial Intelligence

See also: [Use Contextual AI with your AI](https://www.activepieces.com/mcp/contextual-ai)

## About the Contextual AI integration

Add the Contextual AI piece to a flow, connect your account once, and the rest of the builder can read from it and write to it. Because the piece is open source you can run it on our cloud or self-host it, and combine Contextual AI with 770+ other apps in the same flow.

## Triggers (1)

Start a flow the moment something happens in Contextual AI. Each trigger below can start a flow on its own, either instantly or on a schedule.

### New Agent

Triggers when a new Contextual AI agent is created

## Actions (7)

Everything Activepieces can do in Contextual AI. Drop any of these into a flow and fill in the fields. No code is required.

### Query Agent

Send a message to a Contextual AI agent and get a response

Fields: Agent (required), Message (required), Conversation ID, Include Retrieval Content

### Generate Text

Generate text using Contextual AI's Grounded Language Model

Fields: Prompt (required), Model Version (required), Knowledge Sources, System Prompt, Max Tokens, Temperature, Top P, Avoid Commentary

### Ingest Document

Upload and ingest a document into a Contextual AI datastore

Fields: Datastore (required), Document File (required), Custom Metadata, Configuration Override

### Parse File

Parse a document file into structured Markdown and/or JSON format

Fields: Document File (required), Parse Mode (required), Page Range, Enable Document Hierarchy, Enable Split Tables, Max Split Table Cells, Figure Caption Mode

### Create Agent

Create a new Contextual AI agent with specified configuration

Fields: Agent Name (required), Description, Datastores, System Prompt, Filter Prompt

### Invite Users

Invite new users to the Contextual AI workspace

Fields: Users to Invite (required), Tenant Short Name (required)

### Create Datastore

Create a new datastore for organizing documents

Fields: Datastore Name (required)

## Contextual AI, answered.

### Is the Contextual AI integration free?

Yes. Activepieces is open source and free to start, and the Contextual AI piece is included on every plan, from the free cloud tier to any self-hosted deployment.

### How do I connect Contextual AI?

Add the Contextual AI piece to a flow, then authenticate with Custom auth. Once connected, its 1 trigger and 7 actions are available anywhere in the builder.

### What can I automate with Contextual AI?

"New Agent" can start a flow that runs "Query Agent", and you can chain Contextual AI together with any of 770+ other apps and AI steps in between.

### Can I self-host the Contextual AI integration?

Yes. Activepieces is fully self-hostable, so you can run the Contextual AI piece on your own infrastructure with your connections and your data staying in your environment.

### Can my AI agent use Contextual AI as a tool?

Yes. Every piece you connect can be exposed over one Activepieces MCP server, so Claude, ChatGPT, Cursor or any MCP client can call Contextual AI actions as tools.

## Guides using Contextual AI

- [Contextual AI automation](https://www.activepieces.com/resources/automation-guides/contextual-ai-automation): Read our quick guide on Contextual AI automation. Discover how it works, explore common use cases, and learn how Activepieces can help.

## More artificial intelligence integrations

- [AI](https://www.activepieces.com/pieces/ai): Ask, summarize, classify, extract and create images with AI.
- [OpenAI](https://www.activepieces.com/pieces/openai): Chat, images, audio and embeddings from OpenAI models.
- [Datalab](https://www.activepieces.com/pieces/datalab): Convert documents to Markdown, extract structured data, split files and fill forms.
- [GoodMem](https://www.activepieces.com/pieces/goodmem): Store documents as memories with vector embeddings and perform similarity-based semantic retrieval using GoodMem
- [Letta](https://www.activepieces.com/pieces/letta): Letta is the platform for building stateful agents: open AI with advanced memory that can learn and self-improve over time.
- [Medullar](https://www.activepieces.com/pieces/medullar): AI-powered discovery & insight platform that acts as your extended digital mind
