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 Hansei 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.
Check API status
Checks the status of the API.
List all bots
Retrieves a list of all bots available in the API.
List all conversations of a bot
Fetches all conversations associated with a specific bot.
Send message to bot
Sends a message to the bot to receive a response.
Send message to bot
Sends a message to the bot and returns the response
List all collections
Retrieves a list of all collections available in the API.
Upload file to create source
Uploads a file to establish a new source.
Write text to create source
Creates a new source by writing text into it.
Scrape webpage to create source
Scrapes content from a webpage to generate a new source.
Upload source
Uploads a source file along with its metadata.
To set up Hansei 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 Hansei 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 Hansei 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