Save yourself the work of writing custom integrations for Discord and Hansei and use n8n instead. Build adaptable and scalable Communication, HITL, workflows that work with your technology stack. All within a building experience you will love.

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
Create a new channel
Delete
Delete a channel
Get
Get a channel
Get Many
Retrieve the channels of a server
Update
Update a channel
Delete
Delete a message in a channel
Get
Get a message in a channel
Get Many
Retrieve the latest messages in a channel
React with Emoji
React to a message with an emoji
Send
Send a message to a channel, thread, or member
Send and Wait for Response
Send a message and wait for response
Get Many
Retrieve the members of a server
Role Add
Add a role to a member
Role Remove
Remove a role from a member
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!


The world's most popular workflow automation platform for technical teams including
Build complex workflows, really fast