In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.
Create custom DocsBot AI and Mattermost workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.
Create chat
This endpoint allows you to create a chat by sending a question along with optional chat history.
List teams
Retrieve a list of all teams associated with the user account.
Create chat
This endpoint allows you to send a question to the chat API.
Stream chat
This endpoint is used to create a full chat interface in your product.
Create chat
This endpoint accepts a POST request to interact with the chat agent.
Search query
This endpoint allows you to search for a given query in the documentation.
To set up DocsBot AI integration, add the HTTP Request node to your workflow canvas and authenticate it using a generic authentication method. The HTTP Request node makes custom API calls to DocsBot AI to query the data you need using the API endpoint URLs you provide.
See the example hereThese API endpoints were generated using n8n
n8n AI workflow transforms web scraping into an intelligent, AI-powered knowledge extraction system that uses vector embeddings to semantically analyze, chunk, store, and retrieve the most relevant API documentation from web pages. Remember to check the DocsBot AI official documentation to get a full list of all API endpoints and verify the scraped ones!
Add User
Add a user to a channel
Create
Create a new channel
Delete
Soft delete a channel
Member
Get a page of members for a channel
Restore
Restores a soft deleted channel
Search
Search for a channel
Statistics
Get statistics for a channel
Delete
Soft delete a post, by marking the post as deleted in the database
Post
Post a message into a channel
Post Ephemeral
Post an ephemeral message into a channel
Create
Add a reaction to a post
Delete
Remove a reaction from a post
Get Many
Get many reactions to one or more posts
Create
Create a new user
Deactive
Deactivates the user and revokes all its sessions by archiving its user object
Get By Email
Get a user by email
Get By ID
Get a user by ID
Get Many
Retrieve many users
Invite
Invite user to team
Learn the importance of incident response playbooks, how they enhance incident management, and automate your playbook with n8n workflow templates in this comprehensive article.
Discover five of our favorite use cases of n8n with Mattermost, for both work productivity and team engagement.
Create a custom Mattermost slash command that helps to quickly connect with other team members via Whereby.
The world's most popular workflow automation platform for technical teams including
Build complex workflows, really fast