Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / RAG & Knowledge Bases

RAG & Knowledge Bases

Chat with Confluence Pages Using GPT-4o-mini

When a chat message arrives, GPT-4o-mini searches Confluence page content converted to Markdown and answers questions, also usable from Telegram.

What it does

## Confluence https://developer.atlassian.com/cloud/confluence/basic-auth-for-rest-apis/ https://id.atlassian.com/manage-profile/security/api-tokens https://developer.atlassian.com/cloud/confluence/rest/v2/intro/#about Supplying basic auth headers You can construct and send basic auth headers yourself, including a base64-encoded string that contains your Atlassian account email and API token. To use basic auth headers, perform the following steps: Generate an API Token for your Atlassian Account: https://id.atlassian.com/manage/api-tokens Build a string of the form your_email@domain.com:your_user_api_token. You'll need to encode your authorization credentials to Base64 encoded. You can do this locally: Linux/Unix/MacOS: Copy echo -n your_email@domain.com:your_user_api_token | base64 Windows 7 and later, using Microsoft Powershell: Copy $Text = ‘your_email@domain.com:your_user_api_token’ $Bytes = [System.Text.Encoding]::UTF8.GetBytes($Text) $EncodedText = [Convert]::ToBase64String($Bytes) $EncodedText Supply an Authorization header with content Basic followed by the encoded string. Example: Authorization: Basic eW91cl9lbWFpbEBkb21haW4uY29tOnlvdXJfdXNlcl9hcGlfdG9rZW4= Copy curl -D- \ -X GET \ -H "Authorization: Basic " \ -H "Content-Type: application/json" \ "https:// /wiki/rest/api/space" The above cURL command will not work as shown. You need to replace and with your authorization credentials encoded string and instance information before running it in the terminal.

The steps

  1. Confluence Page Storage View
  2. HTML to Markdown
  3. gpt-4o-mini
  4. When chat message received
  5. Window Buffer Memory
  6. Chat Response
  7. Globals
  8. Search By ID
  9. Page Schema
  10. AI Agent
  11. Send Telegram Message
  12. Split Out

Similar automations