CContextHubInteractive API reference

Slack notifications

Connect your own Slack workspace and receive ContextHub event notifications in a channel. This integration is available on Free and paid plans. You need permission to manage the current tenant and permission to install the ContextHub app in the Slack workspace.

Connect a workspace

  1. Sign in to ContextHub and select the tenant whose events you want to receive.
  2. Open Assets → Webhooks and create a subscription.
  3. Choose Slack as the notification channel.
  4. Select events, for example content.published. Leave optional filters empty for the first test.
  5. Click Connect Slack. Slack opens its authorization page.
  6. Check the workspace, select the destination channel, and approve the app. Your workspace administrator may need to approve installation.
  7. Return to ContextHub. The new subscription shows the connected channel.
  8. Click Send test and check both Slack and Delivery history.

You do not create a Slack developer app or paste a webhook URL. ContextHub's operator configures the shared app once; each customer authorizes their own workspace/channel. Slack provides the channel picker through its incoming-webhook scope.

What arrives in Slack

Messages contain the event type, tenant ID, event ID and event time. Form answers and full content documents are not included. A notification looks like:

ContextHub · content.published
Tenant: <your-tenant-id>
Event: <event-id>
<event-time>

Event filters determine which notifications are queued. A locale filter only matches events that carry locale information. See filters and delivery behavior.

Change or disconnect

Edit the subscription to change its events, filters or active status. To connect a different workspace/channel, create a new Slack subscription and remove the old one after testing. Removing a ContextHub subscription stops its deliveries; it does not uninstall the Slack app from your workspace. Revoke the app separately in Slack if needed.

Troubleshooting

Symptom Action
Slack is not configured Ask the ContextHub operator to complete provider setup.
Installation requires approval Ask the destination workspace administrator to approve the app.
The connection expired Start Connect Slack again. Authorization must finish within ten minutes.
The wrong tenant is active on return ContextHub tries to restore the tenant that started the connection. If switching fails, select that tenant and reload the callback page.
Test works, but content notifications do not arrive Check selected events and filters; empty filters are the easiest starting point.
Subscription stopped automatically Check delivery history, fix Slack access/channel problems, reactivate the subscription and resend the affected delivery.

An accepted delivery means Slack accepted the request; ContextHub does not track whether a channel member read the message. Failed requests follow the shared retry policy. See Slack's OAuth flow for provider details.

Team and personal destinations

When connecting a chat provider, choose Team channel or Personal connection. Both require the current tenant's management permission. Team connections can be managed by authorized tenant administrators; personal connections and their delivery history are visible only to their creator. Visibility is fixed when the connection is created; create a new connection to change it. Existing subscriptions remain team connections.

A personal connection receives the selected events from its tenant; it does not mean only events triggered by that user. The worker checks the owner's active account, active tenant membership and current management permission before every send, including retries and resends. Revoked access stops delivery. Personal connection failure emails go only to its owner.

Delivery uses the saved destination: the channel selected during Slack authorization, the Telegram bot's configured chat ID, or the configured WhatsApp recipient number. No tenant-wide or platform-wide fallback recipient is used. A personal connection does not make an external group private: Slack/Telegram group administrators control membership. Choose a private channel or a direct chat and verify its members before enabling notifications. Telegram chat IDs must identify the intended chat; permission to post with a bot token alone does not prove ownership of that chat. WhatsApp recipients must agree to receive notifications.

Tenant events, subscriptions and outbox payloads must have matching stable tenant IDs. Missing or mismatched IDs are blocked before any external request. Tenant slugs do not expand delivery scope. Self-hosted operators with legacy slug-based subscriptions must migrate them to stable tenant IDs before enabling delivery; encrypted provider credentials require re-encryption with the new tenant ID. Do not interpret a 24-character hexadecimal identifier as a slug.