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
- Confluence Page Storage View
- HTML to Markdown
- gpt-4o-mini
- When chat message received
- Window Buffer Memory
- Chat Response
- Globals
- Search By ID
- Page Schema
- AI Agent
- Send Telegram Message
- Split Out
Similar automations
RAG & Knowledge BasesChat with a Confluence Page Using an OpenAI Chatbot34 stepsDocuments, PDF & OCRCreate Confluence Pages from Templates via Webhook33 stepsContent Writing & GenerationSummarize YouTube Videos and Chat About Them with GPT-4o-mini19 stepsContent Writing & GenerationSummarize YouTube Videos and Chat About Them with GPT-4o-mini46 steps