Publish messages and signals to PubNub channels, read and delete history, check presence and state, and manage channel groups.
Explore 14 workflow actions for PubNub, including account permissions and operation limits.
7 read actions7 write actions
WORKFLOW ACTIONS
What you can configure.
Choose an action in the workflow builder, connect an account, and map its inputs. These actions are available in the catalog; your account access and a successful test determine whether they work for your setup.
Add channels
Write
Add channels to a channel group.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
A repeated request may repeat the external action. Review the previous result before retrying a write.
Delete channel group
Write
Delete a channel group.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
A repeated request may repeat the external action. Review the previous result before retrying a write.
Delete messages
Write
Delete messages from a channel's history, optionally within a timetoken range. Message deletion must be enabled on the keyset.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
A repeated request may repeat the external action. Review the previous result before retrying a write.
Fetch messages
Read
Fetch message history from one or more channels.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
Get state
Read
Get a user's presence state on channels.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
Here Now
Read
Get the occupancy, and optionally the user IDs and state, of channels.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
List channel groups
Read
List the channel groups on the keyset.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
List channels
Read
List the channels in a channel group.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
Message counts
Read
Count the messages published on channels since a timetoken (one timetoken for all, or one per channel).
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
Publish message
Write
Publish a JSON message to a channel (POST). The answer is [1, "Sent", timetoken] on success.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
A repeated request may repeat the external action. Review the previous result before retrying a write.
Remove channels
Write
Remove channels from a channel group.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
A repeated request may repeat the external action. Review the previous result before retrying a write.
Send signal
Write
Send a signal (a lightweight message of up to 64 bytes of JSON) to a channel.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
A repeated request may repeat the external action. Review the previous result before retrying a write.
Set state
Write
Set a user's presence state on channels.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
A repeated request may repeat the external action. Review the previous result before retrying a write.
Where Now
Read
Get the channels a user is present on.
Permissions and limits
Account permissions
A PubNub keyset (publish and subscribe keys) and, with Access Manager, an access token
SETUP
Start with a controlled test.
01Connect the intended account
Use the account and permissions required for your process. Review the connection check before configuring a workflow action.
02Review inputs and access
Select a listed operation and map its required inputs. Use test records and add a human approval before writes that need review.
03Confirm the result
Inspect step outputs and confirm the result in PubNub. A saved workflow is not a completed provider action.