> ## Documentation Index
> Fetch the complete documentation index at: https://relevanceai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 'Confluence - Search Content' Tool step

> Search Confluence using CQL in Relevance AI

The 'Confluence - Search Content' Tool step allows you to search through Confluence using CQL in Relevance AI.

<Note>
  You can learn more about the Confluence integration [here](/integrations/popular-integrations/confluence).
</Note>

## What is CQL?

CQL, or **Confluence Query Language**, is a powerful search language used in Confluence to retrieve content based on structured queries. It allows users to define precise criteria — such as content type, space, title, labels, or last modified date —when searching for pages, blog posts, or attachments. CQL is especially useful for advanced searches and automations, including filtering dynamic content in macros, building reports, or integrating with the Confluence Cloud REST API. Its syntax is similar to SQL, making it intuitive for users familiar with query languages. For example, `type=page AND label=marketing` would return all pages tagged with the "marketing" label.

## Add the 'Confluence - Create Post' Tool step to your Tool

<div style={{ width:"100%",position:"relative","padding-top":"56.75%" }}>
  <iframe src="https://app.supademo.com/embed/cmccqqexr3tpk8qszy5m0suuc" frameBorder="0" title="Add the Confluence - Create Post Tool step to your Tool" allow="clipboard-write; fullscreen" webkitAllowFullscreen="true" mozAllowFullscreen="true" allowFullscreen style={{ position:"absolute",top:0,left:0,width:"100%",height:"100%",border:"3px solid #5E43CE",borderRadius:"10px" }} />
</div>

You can add the 'Confluence - Create Post' Tool step to your Tool by:

1. Creating a new Tool, then searching for the 'Confluence - Create Post' Tool step
2. Click 'Expand' to see the full Tool step
3. Select or add your Confluence account
4. Enter your CQL query in the 'CQL' field
5. Use the 'Max Results' to enter the max number of results you want to receive for your query
6. Click 'Run step' to test out your Tool step
