Back to Integrations
integrationCody node
HTTP Request
integrationHansei node
HTTP Request

Cody and Hansei integration

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

How to connect Cody and Hansei

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

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.

Cody and Hansei integration: Create a new workflow and add the first step

Step 2: Add and configure Cody and Hansei nodes using the HTTP Request nodes

Add the HTTP Request nodes onto your workflow canvas. Set credentials for Cody and Hansei as appropriate using generic authentication methods. The HTTP Request nodes make custom API calls to Cody and Hansei to query the data you need. Configure nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Cody and Hansei integration: Add and configure Cody and Hansei nodes

Step 3: Connect Cody and Hansei

A connection establishes a link between Cody and Hansei (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Cody and Hansei integration: Connect Cody and Hansei

Step 4: Customize and extend your Cody and Hansei integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Cody and Hansei with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Cody and Hansei integration: Customize and extend your Cody and Hansei integration

Step 5: Test and activate your Cody and Hansei workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Cody and Hansei or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Cody and Hansei integration: Test and activate your Cody and Hansei workflow

Build your own Cody and Hansei integration

Create custom Cody and Hansei 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.

Supported API Endpoints for Cody

To set up Cody 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 Cody to query the data you need using the API endpoint URLs you provide.

List bots
Retrieve a list of all bots.
GET
/operation/operation-list-bots

These 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 Cody official documentation to get a full list of all API endpoints and verify the scraped ones!

List conversations
Retrieve a list of all conversations.
GET
/operation/operation-list-conversations
Create conversation
Create a new conversation.
POST
/operation/operation-create-conversation
Get conversation
Retrieve details of a specific conversation.
GET
/operation/operation-get-conversation
Update conversation
Update the details of a specific conversation.
POST
/operation/operation-update-conversation
Delete conversation
Delete a specific conversation.
DELETE
/operation/operation-delete-conversation
List conversations
Get all conversations.
GET
/conversations
Get conversation
Retrieve a specific conversation.
GET
/conversations/{id}

These 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 Cody official documentation to get a full list of all API endpoints and verify the scraped ones!

List documents
Retrieve a list of all documents.
GET
/operation/operation-list-documents
Create document
Create a new document.
POST
/operation/operation-create-document
Delete document
Delete a specific document.
DELETE
/operation/operation-delete-document
Create document from file
Create a document using a file upload
POST
/operation/operation-create-document-from-file
Create document from webpage
Create a document using webpage content
POST
/operation/operation-create-document-from-webpage
Get document
Retrieve details of a specific document
GET
/operation/operation-get-document
List documents
Get all documents.
GET
/documents
Get document
Retrieve a specific document.
GET
/documents/{id}

These 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 Cody official documentation to get a full list of all API endpoints and verify the scraped ones!

List folders
Retrieve a list of all folders.
GET
/operation/operation-list-folders
Create folder
Create a new folder.
POST
/operation/operation-create-folder
Get folder
Retrieve details of a specific folder
GET
/operation/operation-get-folder
List folders
Get all folders.
GET
/folders

These 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 Cody official documentation to get a full list of all API endpoints and verify the scraped ones!

List messages
Retrieve a list of all messages.
GET
/operation/operation-list-messages
Send message
Send a new message.
POST
/operation/operation-send-message
List messages
Get all messages.
GET
/messages

These 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 Cody official documentation to get a full list of all API endpoints and verify the scraped ones!

Get upload URL
Retrieve a signed URL for uploading files.
POST
/operation/operation-get-uploads-signed-url

These 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 Cody official documentation to get a full list of all API endpoints and verify the scraped ones!

Supported API Endpoints for Hansei

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.

Check API status
Checks the status of the API.
GET
/operation/operation-ping

These 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!

List all bots
Retrieves a list of all bots available in the API.
GET
/operation/operation-getbots
List all conversations of a bot
Fetches all conversations associated with a specific bot.
GET
/operation/operation-getbotconversations

These 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!

Send message to bot
Sends a message to the bot to receive a response.
POST
/operation/operation-sendmessage
Send message to bot
Sends a message to the bot and returns the response
POST
/messages

These 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!

List all collections
Retrieves a list of all collections available in the API.
GET
/operation/operation-getcollections

These 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!

Upload file to create source
Uploads a file to establish a new source.
POST
/operation/operation-uploadsource
Write text to create source
Creates a new source by writing text into it.
POST
/operation/operation-writesource
Scrape webpage to create source
Scrapes content from a webpage to generate a new source.
POST
/operation/operation-webpagesource
Upload source
Uploads a source file along with its metadata.
POST
/sources/upload

These 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!

FAQs

  • Can Cody connect with Hansei?

  • Can I use Cody’s API with n8n?

  • Can I use Hansei’s API with n8n?

  • Is n8n secure for integrating Cody and Hansei?

  • How to get started with Cody and Hansei integration in n8n.io?

Looking to integrate Cody and Hansei in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Cody with Hansei

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon