Skip to content
Notis

Run saved Contentful queries from Slack

Reuse trusted queries without rebuilding them for every request.

Trigger

Channel Message Received

Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.

Action

GraphQL Content API Persisted Query

Tool to execute a persisted GraphQL query via its SHA256 hash. Use after registering a query hash to run cached queries by hash. On first call include full query text; thereafter invoke with only hash and variables.

Why this helps

Frequent requests waste time when teams repeatedly compose the same GraphQL query.

  • Standardize recurring lookups
  • Reduce query maintenance and manual repetition

Setup

Build it in a few focused steps.

  • 1Connect Slackbot and Contentful graphql once in Notis.
  • 2Create an automation named Channel Message Persisted Search.
  • 3Tell Notis to parse the channel request into variables and run the registered Contentful persisted query by its supplied hash.
  • 4Pick Channel Message Received, choose a report channel, and test with one real request.

Questions about this workflow

What must be ready before this runs?

The persisted query must already be registered, and the automation needs its SHA256 hash.

Can the first run include query text?

Yes. The action supports full query text on the first call before later hash only runs.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Slackbot to Contentful graphql. A trigger fires from one place; an action lands in another.

Slackbot triggers

Contentful graphql actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Get CMA Token

Tool to retrieve a Contentful Management API (CMA) access token. Use when making CMA calls to ensure valid authorization.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

GraphQL Content API Persisted Query

Tool to execute a persisted GraphQL query via its SHA256 hash. Use after registering a query hash to run cached queries by hash. On first call include full query text; thereafter invoke with only hash and variables.

ActionInstant

New Channel Created Trigger

Triggered when a new channel is created in Slack.

TriggerInstant

GraphQL Content API Query

Tool to execute a GraphQL query against a specified space and environment. Use when fetching Contentful content via GraphQL after obtaining or providing a valid token.

ActionInstant

Channel Message Received

Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.

TriggerInstant

Direct Message Received

Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.

TriggerInstant

Message Reaction Added

Triggered when a reaction is added to a message in Slack. Supports optional filtering by channel and emoji name.

TriggerInstant

Message Reaction Removed

Triggered when a reaction is removed from a message in Slack. Supports optional filtering by channel and emoji name.

TriggerInstant

Reaction Added Trigger

DEPRECATED: use `SLACK_MESSAGE_REACTION_ADDED` instead. Triggered when a reaction is added to a message in Slack.

TriggerInstant

Connect any two apps with Notis in the middle.

Slackbot and Contentful graphql, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Contentful graphql.