DashboardSign inStart your trial

Ably

Reference

25 actions for Ably workflows.

01. Operations

Act on Ably from a workflow

Operations are the actions a workflow can take in Ably, grouped by category. Each lists its method, parameters, and a template you can drop it into.

Authentication

1 operation

Obtain access tokens needed to establish secure connections and authenticate requests with the Ably service. Use this when your application requires valid credentials to interact with channels, messages, or presence data.

Action

Request Access Token

ABLY_REQUEST_ACCESS_TOKEN

Generates a secure authentication token for Ably clients with customizable permissions and expiration times. This enables you to control which clients can access specific channels and for how long.

6 input

Channels

2 operations

Retrieve information about available channels and their current state within your Ably application. Use these operations to discover channels, monitor their status, or validate channel configurations before publishing or subscribing.

Action★ Featured

List Channels

ABLY_LIST_CHANNELS

Discover all active channels in your Ably messaging system to see what communication channels are currently running, with optional details about who's using them.

4 input
Action

Get Channel Details

ABLY_GET_CHANNEL_DETAILS

Retrieve real-time information about a specific Ably channel, including its current status, occupancy metrics, and active users. Use this to monitor channel health and understand who's connected to your communication channels.

1 input

History

1 operation

Access historical message data stored in a channel for a specified time range. Use this operation to retrieve past communications, audit message activity, or implement message recovery features in your workflow.

Action★ Featured

Get Channel History

ABLY_GET_CHANNEL_HISTORY

Retrieve past messages from an Ably channel to review communication history, audit conversations, or recover messages that were missed during offline periods.

5 input

Messages

3 operations

Publish messages to channels individually or in batches, and retrieve different versions of previously sent messages. Use these operations to send real-time data, broadcast notifications, or track message mutations across your application.

Action★ Featured

Batch Publish Messages

ABLY_PUBLISH_BATCH_MESSAGES

Send multiple messages to several channels at once, enabling efficient mass communication without waiting for each message to complete individually.

2 input
Action★ Featured

Publish Message to Channel

ABLY_PUBLISH_MESSAGE_TO_CHANNEL

Sends a message to an Ably channel to instantly reach users subscribed to that channel, enabling real-time communication across your application or platform.

6 input
Action

Get Message Versions

ABLY_GET_MESSAGE_VERSIONS

Retrieve the complete version history of a specific message from an Ably channel, including all edits and deletions with timestamps and metadata. This helps you track how messages have changed over time and understand the full communication record.

2 input

Notifications

2 operations

Send push notifications to devices either one at a time or in bulk batches. Use these operations to reach users with timely alerts, reminders, or engagement messages through their mobile applications.

Action★ Featured

Publish Push Notification

ABLY_PUBLISH_PUSH_NOTIFICATION

Send push notifications directly to specific devices or users through Ably's infrastructure, enabling real-time alerts and engagement without building your own notification system.

2 input
Action

Batch Publish Push Notifications

ABLY_PUBLISH_PUSH_NOTIFICATIONS_BATCH

Send multiple push notifications to specific users in a single request, enabling efficient bulk communication without individual API calls. This is ideal when you need to notify large groups of users quickly and reliably.

1 input

Presence

4 operations

Track which users or clients are currently active in a channel and review historical presence events over time. Use these operations to build user activity feeds, detect online status, or analyze connection patterns across multiple channels in batch.

Action

Get Channel Presence

ABLY_GET_CHANNEL_PRESENCE

Retrieve a list of all clients currently connected and active on a specific channel to monitor who is present in real-time.

5 input
Action

Get Channel Presence History

ABLY_GET_PRESENCE_HISTORY

Retrieve a record of who was present on a channel and when they joined or left during a specific time period. This helps you track user activity and engagement on your communication channels.

5 input
Action

Query Batch Presence

ABLY_BATCH_PRESENCE

Check who is currently active across multiple communication channels at once, getting real-time presence data for all your channels in a single request.

2 input
Action

Query Batch Presence History

ABLY_BATCH_PRESENCE_HISTORY

Retrieve member presence history across multiple communication channels simultaneously, allowing you to see who was active and when across your entire platform in one request.

5 input

Push Channels

1 operation

List and manage push notification channels configured within your Ably application. Use this operation to discover which channels are enabled for push delivery or audit your push infrastructure setup.

Action

List Push Channels

ABLY_LIST_PUSH_CHANNELS

Retrieve all channels that currently have active push notification subscriptions, helping you understand which communication channels are actively reaching your users via push notifications.

2 input

Push Devices

7 operations

Register, update, and manage push-enabled devices that receive notifications from your Ably application. Use these operations to maintain accurate device records, handle registration changes, and clean up inactive devices across your user base.

Action★ Featured

Register Push Device

ABLY_REGISTER_PUSH_DEVICE

Enable push notifications on a specific device by registering it with Ably's push notification system, supporting iOS, Android, and web platforms. This allows your app to send real-time alerts and updates directly to users' devices.

8 input
Action

Get Push Device Registration

ABLY_GET_PUSH_DEVICE

Retrieve complete details about a registered device for push notifications, including its platform, status, and recipient information. Use this to verify device registration status and troubleshoot notification delivery issues.

3 input
Action

List Registered Push Devices

ABLY_LIST_REGISTERED_PUSH_DEVICES

View all devices registered to receive push notifications in your Ably application, with options to filter by device or client ID and manage your notification audience.

4 input
Action

Patch Push Device Registration

ABLY_PATCH_PUSH_DEVICE_REGISTRATION

Update specific device registration settings in your push notification system without affecting other device properties. This is useful when you need to change only certain attributes like device type, platform, or notification recipient details.

11 input
Action

Unregister All Push Devices

ABLY_UNREGISTER_ALL_PUSH_DEVICES

Remove all push notification registrations for devices matching your specified criteria, allowing you to stop sending notifications to unwanted or inactive devices. Use this to clean up your push notification subscriber list and prevent messages from reaching old or test devices.

2 input
Action

Unregister Push Device

ABLY_UNREGISTER_PUSH_DEVICE

Remove a device from push notification delivery in Ably so it stops receiving notifications. Use this when a user uninstalls your app, logs out, or wants to opt out of push messages.

3 input
Action

Update Push Device Registration

ABLY_UPDATE_PUSH_DEVICE

Modify or create device push notification settings in Ably to ensure mobile apps receive timely alerts and messages from your service.

9 input

Service

1 operation

Retrieve the current time synchronized with the Ably server. Use this operation to ensure timing consistency between your application and the Ably platform for accurate message ordering or scheduling.

Action

Get Ably Service Time

ABLY_GET_SERVICE_TIME

Retrieves the current server time from Ably's service to ensure your application stays synchronized with accurate timestamps. This is essential for generating secure authentication tokens and preventing timing-related security issues in real-time messaging applications.

Statistics

1 operation

Access aggregated metrics and usage statistics for your Ably application over specified time periods. Use this operation to monitor API usage, track connection activity, or analyze message throughput for billing and performance insights.

Action

Get Application Stats

ABLY_GET_STATS

Retrieve detailed usage statistics for your Ably application, including message counts, data transfer, connections, and API requests across different time periods. Use this to monitor how your real-time communication features are performing and identify usage patterns.

5 input

Subscriptions

2 operations

Manage push notification subscriptions that link devices or channels to specific push delivery configurations. Use these operations to control which devices receive notifications from which channels or remove stale subscription relationships.

Action

Delete Channel Subscription

ABLY_DELETE_CHANNEL_SUBSCRIPTION

Remove a device or client from receiving push notifications for a specific channel, allowing you to stop sending updates to users who no longer need them.

3 input
Action

List Push Channel Subscriptions

ABLY_LIST_PUSH_CHANNEL_SUBSCRIPTIONS

Retrieve all push notification subscriptions for your channels, with options to filter by channel, device, or client and view detailed subscription information. Use this to monitor which devices and users are receiving notifications and manage your notification audience.

5 input
What now

Use Ably in a workflow

Drop a trigger and an action into a template; approve from your phone; the workflow runs.