Back to Integrations
integrationAbly node
HTTP Request
integrationCody node
HTTP Request

Ably and Cody integration

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

How to connect Ably and Cody

  • 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.

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

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

Add the HTTP Request nodes onto your workflow canvas. Set credentials for Ably and Cody as appropriate using generic authentication methods. The HTTP Request nodes make custom API calls to Ably and Cody 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.

Ably and Cody integration: Add and configure Ably and Cody nodes

Step 3: Connect Ably and Cody

A connection establishes a link between Ably and Cody (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.

Ably and Cody integration: Connect Ably and Cody

Step 4: Customize and extend your Ably and Cody 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 Ably and Cody with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Ably and Cody integration: Customize and extend your Ably and Cody integration

Step 5: Test and activate your Ably and Cody workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Ably and Cody 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.

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

Build your own Ably and Cody integration

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

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

Get channel
Creates a new Channel object if none for the channel exists, or returns the existing channel object.
GET
/api/rest-sdk/channels/get
Release channel
Releases a Channel object, deleting it and enabling it to be garbage collected.
DELETE
/api/rest-sdk/channels/release
List messages
Retrieve messages sent to a specified channel.
GET
/channels/rest-example/messages
Publish message
Publish a message on a channel.
POST
/channels/<channelId>/messages
Publish message
Publish a message to a specified channel with optional parameters.
POST
/channels/rest-example/messages?enveloped=false
Retrieve presence status
Obtain the set of members currently present for a channel.
GET
/channels/rest-example/presence
Retrieve presence state history
Obtain the history of presence messages for a channel.
GET
/channels/<channelId>/presence/history
Retrieve metadata
This returns ChannelDetails for the given channel, indicating global occupancy.
GET
/channels/<channelId>
Enumerate all active channels
This enumerates all active channels in the application.
GET
/channels
Release channel
Releases a Channel object, deleting it and enabling it to be garbage collected.
DELETE
/docs/api/realtime-sdk/channels#release

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

Publish message
Publish a single message on this channel based on a given event name and payload.
POST
/api/rest-sdk/messages/publish
List messages
Retrieve a list of messages from a specific channel.
GET
/docs/api/rest-sdk/messages
Publish message
Sends a message to a channel.
POST
/api/rest/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 Ably official documentation to get a full list of all API endpoints and verify the scraped ones!

Get channel history
Gets a paginated set of historical messages for this channel.
GET
/api/rest-sdk/history
Retrieve message history
Fetches the history of messages published on a channel.
GET
/api/rest/history

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

Create token request
Creates and signs an Ably TokenRequest based on the specified tokenParams and authOptions.
POST
/requestToken
Authenticate server
Authenticates a server with Ably and creates access tokens for clients.
POST
/api/rest/auth

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

Retrieve presence state
Obtains the current presence state of clients in a channel.
GET
/api/rest/presence

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

Retrieve application usage statistics
Fetches statistics for application usage over a specified period.
GET
/api/rest/stats

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

Register device
Register a device for receiving push notifications.
POST
/push/deviceRegistrations
Update device registration
Update a device registration by replacing existing details.
PUT
/push/deviceRegistrations/<deviceId>
List channels
Retrieve all channels with at least one subscribed device.
GET
/push/channels
Publish notification
Send a push notification to a single device or set of devices.
POST
/push/publish

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

Get details from a registered device
Obtain the details for a device registered for receiving push registrations.
GET
/push/deviceRegistrations/<deviceId>
List registered devices
Obtain the details for devices registered for receiving push registrations.
GET
/push/deviceRegistrations
Unregister device
Unregisters a single device by its device ID, deleting all its subscriptions for receiving push notifications through channels.
DELETE
/push/deviceRegistrations/<deviceId>
Unregister devices
Unregisters devices, deleting all their subscriptions for receiving push notifications through channels.
DELETE
/push/deviceRegistrations

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

Subscribe to channel
Subscribe a single device or all devices associated with a client ID to receive push notifications from messages sent to a channel.
POST
/push/channelSubscriptions

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

Revoke tokens
Revoke tokens using the specified key name.
POST
/keys/<keyName>/revokeTokens

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

Publish message
Publish a single message on this channel based on a given event name and payload.
POST
/docs/api/realtime-sdk/channels#publish

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

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!

FAQs

  • Can Ably connect with Cody?

  • Can I use Ably’s API with n8n?

  • Can I use Cody’s API with n8n?

  • Is n8n secure for integrating Ably and Cody?

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

Looking to integrate Ably and Cody in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Ably with Cody

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