Ably and AWS Lambda Integration

Demonstration of how apps are integrated in WEXTL workflow builder[4]

Keep Ably and AWS Lambda matched by integrating their events and actions. When developer tools events happen in Ably, update the AWS Lambda automatically - without any line of code in visual workflow builder.

  • 3-day trial
  • Cancel anytime
  • Up to 10 minutes quick set up
  • GDPR
  • Data Encryption
  • 2FA
  • Local Data Region

Learn about Ably and AWS Lambda

Detailed info you need to know about Ably and AWS Lambda integrations in WEXTL. Explore which modules apps support and how you connect them.

  • Ably

    • Developer Tools
    • 4 triggers
    • 29 searches
    • 35 actions

    Realtime messaging with channels, presence, chat and push.[5]

  • AWS Lambda

    • Developer Tools
    • 1 trigger
    • 38 searches
    • 49 actions

    Serverless compute that runs your code without managing servers.[6]

How to connect Ably to AWS Lambda

Set up your Ably and AWS Lambda integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.

How does the integration between Ably and AWS Lambda work in WEXTL?

WEXTL exposes actions and triggers for Ably and AWS Lambda that help you connect apps and automate repetitive tasks[1]. A trigger is an event that happens, and an action is a step that performs when the event has occurred.

Ably triggersAWS Lambda actions

Ably modules

  • Add a Chat Reaction Reacts to a message in a chat room using a Name such as a thumbs-up emoji. Set Type to control whether reactions count once per client, once per name or many times, and use Count for several. Returns the Serial of the message.
  • Add a Push Subscription Makes a device, or every device of a client, receive push notifications published on a Channel. Fill only one of Device ID and Client ID (needs push notifications turned on for the app).
  • Append to a Message Adds more text to the end of a message already on a channel, plus a reason through Description. Returns the Version Serial of the new version (needs message updates turned on for the channel).
  • Create a Key Creates an API key in an app, with a Name and a Capability that says what the key may do on which channels. Turn on Revocable Tokens to allow revoking the tokens it issues. The key secret is masked in the run log (needs a Control API access token).
  • Create a Namespace Defines how channels behave when their name starts with a prefix, such as orders for orders:new. Give the Namespace ID and switch on options like Persisted, Push Enabled or Mutable Messages (needs a Control API access token).
  • Create a Queue Sets up a queue in an app with a Name, a TTL in seconds, a Max Length and a Region. Returns the queue details, including its connection addresses (needs a Control API access token).
  • Create a Rule Adds an integration rule that forwards channel events to a webhook, function or queue. Describe it with a JSON Rule Definition holding its rule type, request mode, source and target (needs a Control API access token).
  • Create an App Starts a new app in your Ably account from a Name. Set Status to begin enabled or disabled and switch on TLS Only to refuse plain connections. The account is found automatically (needs a Control API access token).
  • Delete a Chat Message Removes a posted message in a chat room, plus a reason through Description. Tick Confirm to continue (needs the chat update and delete permission).
  • Delete a Message Deletes a message on a channel and records the change as a new version. Add a Description for the reason and set Confirm to proceed. Returns the Version Serial (needs message updates turned on for the channel).
  • Delete a Namespace Removes a channel namespace from an app. Enable Confirm to proceed (needs a Control API access token).
  • Delete a Queue Clears a queue out of an app, waiting messages included. Tick Confirm to continue (needs a Control API access token).
  • Delete a Rule Deletes an integration rule from an app. Check Confirm before sending (needs a Control API access token).
  • Delete an App Removes an entire Ably app from your account. Turn on Confirm to go ahead (needs a Control API access token).
  • Get a Channel Checks one channel for its Region, whether it is active and how many people are connected. Needs a key with the channel-metadata capability.
  • Get a Chat Message Returns the Text, Headers and Metadata of a single chat message from a room, along with its reactions.
  • Get a Device Looks up a device registered for push and shows its Platform, Form Factor, Metadata and delivery address (needs push notifications turned on for the app).
  • Get a Message Reads the latest version of a channel message, which matters after edits. The result carries the Name, Data and Timestamp.
  • Get a Rule Fetches an integration rule with its Source, Target and Status, to check how events are forwarded before you change the rule (needs a Control API access token).
  • Get Account Statistics Pulls usage statistics for your whole account, one item per interval. Narrow the window with Start and End, group by Unit, and reverse the order with Direction (needs a Control API access token).
  • Get an Annotation Summary Reads the annotation totals for a message, such as how many people reacted with a thumbs-up. Set Client ID to see only the entries of one client (needs message annotations turned on for the channel).
  • Get App Statistics Shows usage statistics for one app between a Start and an End. Use Unit to choose minute, hour, day or month intervals and Direction for the order (needs a Control API access token).
  • Get Channel History Lists past messages of a channel, newest first unless Direction is changed. Use Start and End to cut a time window and Limit to keep the page small.
  • Get Client Reactions Shows what one person reacted with on a chat message, grouped as Unique, Distinct and Multiple. Leave Client ID blank to read the reactions of the key owner.
  • Get Presence for Many Channels Reads presence on several channels in a single request, returning the Channel name with its Presence members for each one.
  • Get Presence History Lists past presence events of a channel, such as members entering and leaving. Set Start and End for a window, Direction for the order and Limit for the number of events.
  • Get the Occupancy of a Room Counts the people in a chat room by Connections and Presence Members.
  • Get the Presence of a Channel Finds who is on a channel right now. Each member arrives with a Client ID, Connection ID and Action. Use Client ID or Connection ID to narrow the list to one person or connection.
  • Get the Service Time Returns the current Ably server time in milliseconds since the epoch, as the Time. Useful as a clock to compare against Ably timestamps.
  • Get Token Details Shows the Account, user and token behind the saved access token, with the capabilities it carries. Run it to confirm the token before other account modules (needs a Control API access token).
  • Get Usage Statistics Returns usage statistics for the app that owns your key, one item per interval. Set Unit to group by minute, hour, day or month, add Start and End for a window, and Limit for the number of intervals.
  • List Annotations Lists the annotations published on a message, oldest first, each with its Type, Name and Client ID. Add a Limit when you only need the first few (needs message annotations turned on for the channel).
  • List Apps Shows the apps in your account, each with its ID, Name and Status. The account is looked up from your token, so none is asked for (needs a Control API access token).
  • List Channels Finds the channels that are active right now. Use Prefix to keep names starting with some text and Return to get full channel details rather than just names. Needs a key with the channel-metadata capability.
  • List Chat Messages Reads the messages posted in a chat room, newest first. Set Order to read oldest first, and add From Serial to carry on after a message you already hold.
  • List Devices Returns devices registered for push, each with its Platform and Form Factor. Filter by Device ID or Client ID to find a single phone or one person (needs push notifications turned on for the app).
  • List Keys Shows the API keys of an app with their Name, Capability and Status. The key secret is left out of the output and hidden in run logs (needs a Control API access token).
  • List Message Versions Lists the original message and every later edit or deletion of it. Add Limit to read fewer versions (needs message updates turned on for the channel).
  • List Namespaces Returns the channel namespaces of an app, each showing flags such as Persisted and Push Enabled (needs a Control API access token).
  • List Push Channels Finds the channels that have at least one device subscribed for push, each as a Channel item. Add Limit to shorten the list (needs push notifications turned on for the app).
  • List Push Subscriptions Lists which devices or clients get push for which channels. Add Channel, Device ID or Client ID to filter the list (needs push notifications turned on for the app).
  • List Queues Shows the queues of an app with their Name, Region, State and TTL (needs a Control API access token).
  • List Rules Returns the integration rules of an app, each with its Rule Type, Request Mode, Status and Source (needs a Control API access token).
  • Make an API Call Calls the Ably REST API directly with a free-form request under your saved credential.
  • Publish a Message Sends a message to a channel, adding a Name and Data as plain text or a mapped object that goes out as JSON. Map a stable Message ID to make a repeated run harmless. Returns the Channel and Message ID.
  • Publish a Push Notification Delivers a push notification straight to a Recipient, such as a device or a client, without going through a channel. Use Push Payload for the title, body or custom data (needs push notifications turned on for the app).
  • Publish an Annotation Attaches an annotation, such as a reaction, to a message. Set Type for how annotations are totalled, Name to group them and Count for the multiple kind. Returns the ID and Serial (needs message annotations turned on for the channel).
  • Publish Push to Many Recipients Dispatches up to 10,000 push notifications in one request, every one with its own recipient and payload taken from Items (needs push notifications turned on for the app).
  • Publish to Many Channels Sends the same Messages to up to 100 Channels in one request, with as many as 1,000 messages in the list. Each channel returns its Channel and Message ID.
  • Register a Device Registers a device for push through a Push Recipient with its transport type and token. Add a Device ID, Client ID, Platform and Form Factor, plus a Device Secret that stays hidden from the run log (needs push notifications turned on for the app).

AWS Lambda modules

  • Add a Function Permission Lets another service, account or role use a function by adding a statement to its resource policy. Use Action and Principal to say who may do what, and Source ARN to limit it to one calling resource.
  • Add a Layer Version Permission Shares a layer version with an account by adding a policy statement. Use Principal * with Organization ID to open it to one organization, and Revision ID to skip the change if the policy moved on since you read it.
  • Add Tags to a Resource Attaches Tags to the resource behind the Resource ARN. A tag whose key already exists gets the new value.
  • Cancel a Durable Execution Stops a durable execution. Use Error Message to record why it was stopped, and Error Type, Error Data or Stack Trace to attach error details. Output is the Stop Timestamp.
  • Create a Capacity Provider Sets up a capacity provider that runs functions on compute instances in your own subnets. It needs VPC Config and Permissions Config. Use Scaling Config to set how it scales and Instance Requirements to limit the instance types.
  • Create a Code Signing Config Defines which signing profiles may sign code for functions, through Allowed Publishers. Use Code Signing Policies to decide what happens when a signature check fails.
  • Create a Durable Execution Checkpoint Saves progress of a durable execution against its current Checkpoint Token. Use Updates for state changes such as completing a step or starting a wait. Output includes the next Checkpoint Token.
  • Create a Function Deploys a new Lambda function under a Role, from your Code. For zip packages add a Runtime and Handler, and for container images an image URI. Use Timeout and Memory Size to replace the defaults of 3 seconds and 128 MB.
  • Create a Function URL Config Gives a function a dedicated HTTPS endpoint. Use Auth Type to choose between AWS IAM and open access, Invoke Mode for buffered or streamed answers, and Cors for cross-origin rules.
  • Create an Alias Adds a named alias that points to a version of a function. Use Routing Config to send a share of the traffic to a second version.
  • Create an Event Source Mapping Connects a function to a stream, queue or broker and has records delivered in batches. Use Event Source ARN for a Kinesis or DynamoDB stream, an SQS queue or another source, and Batch Size to bound each batch.
  • Delete a Capacity Provider Removes a capacity provider from the account and returns its final Capacity Provider record.
  • Delete a Code Signing Config Deletes a code signing config from your Lambda account.
  • Delete a Function Deletes a function. Use Qualifier to delete a single version, otherwise the function goes with all of its versions and aliases.
  • Delete a Function Code Signing Config Unlinks a function from the code signing config that it was bound to.
  • Delete a Function Concurrency Clears the reserved concurrency set on a function.
  • Delete a Function Event Invoke Config Removes the retry and destination settings for asynchronous calls. Use Qualifier to target a version or alias, or leave it empty for the latest version.
  • Delete a Function URL Config Removes the HTTPS endpoint of a function, or of one alias when Qualifier names it.
  • Delete a Layer Version Deletes a numbered version of a layer from Lambda.
  • Delete a Provisioned Concurrency Config Removes the warm capacity set on one version or alias, chosen with Qualifier.
  • Delete a Resource Policy Removes the policy that sits on a function or layer version. Use Revision ID to delete only if the current revision matches, or leave it empty to delete regardless.
  • Delete an Alias Deletes one alias of a function by its name.
  • Delete an Event Source Mapping Removes the link between a function and its stream, queue or broker. The final mapping settings are returned.
  • Get a Capacity Provider Looks up a capacity provider and returns its full Capacity Provider record.
  • Get a Code Signing Config Retrieves a code signing config, including its allowed publishers and policy, as Code Signing Config.
  • Get a Durable Execution Shows the status of one durable execution with its start and end timestamps. Turn off Include Execution Data to leave out the input, result and error and get a smaller response.
  • Get a Durable Execution History Lists the events recorded for a durable execution, such as when it started, succeeded or failed. Use Newest First to reverse the order, and Include Execution Data to turn step results and callback payloads on or off.
  • Get a Durable Execution State Returns the operations of a durable execution as of a given Checkpoint Token, with the Status and details of each step, wait or callback. Use Limit to bound a run.
  • Get a Function Returns a function in full, with its Configuration, Code details and Tags. Add a Qualifier to read one version or alias, and expect environment variable values in the output.
  • Get a Function Code Signing Config Checks which code signing config is attached to a function and returns its Code Signing Config ARN.
  • Get a Function Concurrency Looks up how many concurrent executions are reserved for a function, as Reserved Concurrent Executions.
  • Get a Function Configuration Pulls the settings of a function, such as its Runtime, Handler, Timeout and Memory Size, without the code details. Add a Qualifier to pick a version or alias, and environment variable values are included.
  • Get a Function Event Invoke Config Reads how a function handles asynchronous calls: Maximum Retry Attempts, Maximum Event Age In Seconds and the Destination Config.
  • Get a Function Policy Returns the resource-based policy of a function as Policy, along with its Revision ID for later guarded changes.
  • Get a Function Recursion Config Shows what Lambda does with a function that calls itself in a loop, as the Recursive Loop setting.
  • Get a Function Scaling Config Returns the Applied Function Scaling Config and the Requested Function Scaling Config of a given version or alias.
  • Get a Function URL Config Reads the function URL configuration of a function. Output includes the Function URL, Auth Type, Invoke Mode and Cors.
  • Get a Layer Version Retrieves one version of a layer, its Description, Compatible Runtimes and License Info, plus a Content location.
  • Get a Layer Version by ARN Looks up a layer version from its full Layer Version ARN, including its Description, Compatible Runtimes and License Info.
  • Get a Layer Version Policy Returns the permissions granted on a layer version as Policy, together with its Revision ID.
  • Get a Provisioned Concurrency Config Checks warm capacity of a function alias or version. It compares Requested Provisioned Concurrent Executions with Available Provisioned Concurrent Executions and gives the Status.
  • Get a Resource Policy Reads the access policy of a Lambda function or layer version, found from its Resource ARN. Output includes the Policy and Revision ID.
  • Get a Runtime Management Config Shows how a function picks up runtime updates through Update Runtime On, along with its Runtime Version ARN.
  • Get Account Settings Reads the Lambda limits for your account together with how much of them is in use, as Account Limit and Account Usage.
  • Get an Alias Fetches an alias of a function, giving the version it points to, its Routing Config and its Revision ID.
  • Get an Event Source Mapping Reads the settings of a mapping between a function and an event source, such as its Batch Size and Starting Position.
  • Invoke a Function Runs a Lambda function with a JSON Payload as its input, up to 6 MB. Use Invocation Type to wait for the result or return at once, and Qualifier to run a version or alias. Turn off Stop On Function Error to branch on failures.
  • List Aliases Shows the aliases of one function, each with its Name, Function Version and Routing Config. Use Function Version to keep only aliases that point to one version.
  • List Capacity Providers Lists the capacity providers of your account along with their State and VPC Config. Use State to keep only providers in one state.
  • List Code Signing Configs Returns every code signing config with its Allowed Publishers, Code Signing Policies and Last Modified date.

Build a Ably and AWS Lambda workflow with AI

Describe your automation with Ably and AWS Lambda - and our AI Workflow Builder will make it done for you.

What you can automate with Ably and AWS Lambda

  • 2 credits per run
    from $0.00039
  • 2 credits per run
    from $0.00039
  • 2 credits per run
    from $0.00039
  • 2 credits per run
    from $0.00039
  • 2 credits per run
    from $0.00039

Explore alternative integrations

There are other apps[9] supported by WEXTL that can be paired with Ably and AWS Lambda integrations. Pick any from the list below if the current combination isn't the one you need.

Automate Ably and AWS Lambda on WEXTL®

Claim your 3-day trial to build Ably with AWS Lambda integration and access every WEXTL® feature.

Cancel anytime.

Frequently asked questions

Common questions about connecting Ably and AWS Lambda.

How do I connect Ably and AWS Lambda?

Connect your Ably and AWS Lambda accounts once, pick a trigger in one app and an action in the other, then map the fields so data flows automatically between them.[3]

What can I automate between Ably and AWS Lambda?

Example: when the "Watch Channel Lifecycle (Instant)" trigger in Ably fires, WEXTL can "Add a Function Permission" in AWS Lambda. Ably has 4 triggers (including Watch Channel Lifecycle (Instant), Watch Channel Messages (Instant), and Watch Channel Occupancy (Instant)). AWS Lambda has 87 actions (including Add a Function Permission, Add a Layer Version Permission, and Add Tags to a Resource). Add filters and transforms between steps when you need them.[1]

Can Ably trigger actions in AWS Lambda, and AWS Lambda in Ably?

Yes. The integration works in both directions. Use the triggers of each app to start a workflow and the actions of the other app to update it.[2]

Do I need to write code to integrate Ably and AWS Lambda?

No. Ably-to-AWS Lambda automations are built visually on the canvas. You can optionally add custom JavaScript with Functions when you need advanced logic.[4]

Does Ably integrate with AWS Lambda in real time?

Yes. Trigger-based automations start the moment Ably (or AWS Lambda) fires a new event. Webhook-backed apps run within seconds, and polling-only apps re-check on a schedule you control.[7]

How long does it take to set up a Ably + AWS Lambda integration?

A first automation typically takes 5–10 minutes: connect the credential of each app once, drop a trigger + action onto the canvas, map the fields, and turn the workflow on.

Do I need a paid plan to connect Ably with AWS Lambda?

You can build your Ably + AWS Lambda automation on a 3-day trial with every feature unlocked. Cancel anytime.[8]

References

List of sources used to gather information about the Ably and AWS Lambda integration.

  1. Ably and AWS Lambda integration source code, module specs and credentials implementation.
  2. Our Ably and AWS Lambda integration documentation, structured input and output parameters, scopes, and authentication methods.
  3. Official vendor API documentation for Ably and AWS Lambda, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
  4. WEXTL® visual workflow builder, anonymized data from our technical support team.
  5. Ably integration information
  6. AWS Lambda integration information
  7. WEXTL® Scheduling
  8. WEXTL® Pricing and Trial
  9. WEXTL® Apps Library

How we write our apps documentation

Explore how WEXTL® crafted Ably and AWS Lambda integration page documentation. Used sources, the role of AI, and how the team validates the result.