Atlassian · Arazzo Workflow

Atlassian Confluence Search Content with CQL

Version 1.0.0

Search Confluence content with CQL and fetch the first matching result.

1 workflow 1 source API 1 provider
View Spec View on GitHub CodeCollaborationPlatformProductivitySoftware DevelopmentArazzoWorkflows

Provider

atlassian

Workflows

search-content-cql
Search content with CQL and read back the first match.
Runs a CQL search and reads the full detail of the first matching content when the result set is non-empty.
2 steps inputs: authorization, cql, limit outputs: firstContentId, results
1
searchContent
Run the CQL search and return the matching content list.
2
getContent
Fetch the full detail of the first matching content by id.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Atlassian Confluence Search Content with CQL
  summary: Search Confluence content with CQL and fetch the first matching result.
  description: >-
    Searches Confluence content using a CQL expression and, when at least one
    result is returned, fetches the full detail of the first matching content by
    id. The flow branches on the result count so it only reads content when one
    exists. Each step inlines its Basic authentication header, query parameters
    and documented success criteria.
  version: 1.0.0
sourceDescriptions:
- name: contentApi
  url: ../openapi/atlassian-content-api-openapi.yml
  type: openapi
workflows:
- workflowId: search-content-cql
  summary: Search content with CQL and read back the first match.
  description: >-
    Runs a CQL search and reads the full detail of the first matching content
    when the result set is non-empty.
  inputs:
    type: object
    required:
    - authorization
    - cql
    properties:
      authorization:
        type: string
        description: HTTP Basic auth header value.
      cql:
        type: string
        description: The CQL expression to search with (e.g. "type=page and space=DEV").
      limit:
        type: integer
        description: Maximum number of results to return.
  steps:
  - stepId: searchContent
    description: Run the CQL search and return the matching content list.
    operationId: atlassianSearchcontentbycql
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: cql
      in: query
      value: $inputs.cql
    - name: limit
      in: query
      value: $inputs.limit
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      results: $response.body#/results
      firstContentId: $response.body#/results/0/id
    onSuccess:
    - name: hasResults
      type: goto
      stepId: getContent
      criteria:
      - context: $response.body
        condition: $.results.length > 0
        type: jsonpath
    - name: noResults
      type: end
      criteria:
      - context: $response.body
        condition: $.results.length == 0
        type: jsonpath
  - stepId: getContent
    description: Fetch the full detail of the first matching content by id.
    operationId: atlassianGetcontentbyid
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: id
      in: path
      value: $steps.searchContent.outputs.firstContentId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      id: $response.body#/id
      title: $response.body#/title
  outputs:
    results: $steps.searchContent.outputs.results
    firstContentId: $steps.searchContent.outputs.firstContentId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/atlassian-search-content-cql-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.