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

You can learn more about the Confluence integration here.

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

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