PubNub
PubNub publish, signals, message history, App Context metadata, and event webhooks.
Tools
| Name | Description |
|---|---|
publish_messagePublish a JSON message to a PubNub channel. | Publish a JSON message to a PubNub channel. |
send_signalSend a lightweight PubNub signal to a channel. | Send a lightweight PubNub signal to a channel. |
fetch_messagesFetch recent PubNub messages for one channel. | Fetch recent PubNub messages for one channel. |
list_user_metadataList PubNub App Context UUID metadata. | List PubNub App Context UUID metadata. |
set_user_metadataCreate or replace PubNub App Context metadata for one UUID. | Create or replace PubNub App Context metadata for one UUID. |
set_channel_metadataCreate or replace PubNub App Context metadata for one channel. | Create or replace PubNub App Context metadata for one channel. |
remove_channel_metadataDelete PubNub App Context metadata for one channel. | Delete PubNub App Context metadata for one channel. |
Triggers
| Name | Description |
|---|---|
webhook_event_receivedReceive PubNub event/webhook payloads from a configured sink. This trigger does not sign or verify requests. | Receive PubNub event/webhook payloads from a configured sink. This trigger does not sign or verify requests. |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('pubnub', 'publish_message', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'pubnub',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect PubNub to my app?
Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.
What tools does PubNub support?
PubNub supports 7 tools including Publish Message, Send Signal, Fetch Messages, List User Metadata, Set User Metadata, and more.
Can I use PubNub with AI agents?
Yes. Add PubNub to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.
Can PubNub be used in stateful agent workflows?
Yes. Agents can combine PubNub tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.
What authentication does PubNub use?
PubNub uses Custom. Weavz stores credentials securely and uses them for authorized action execution.
How much does the PubNub integration cost?
The PubNub integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.
What triggers does PubNub support?
PubNub supports 1 triggers including Webhook Event Received.
Connect PubNub in minutes
Get 20,000 free action executions every month. No credit card required.