Start new channels with a saved resource query
Use one trusted query to provide the right Contentful resources at channel launch.
Trigger
New Channel Created Trigger
Triggered when a new channel is created in Slack.
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
Channel onboarding is inconsistent when reference gathering starts from scratch.
- Standardize channel starts
- Reduce repeated resource selection
Setup
Build it in a few focused steps.
- 1Connect Slackbot and Contentful graphql once in Notis.
- 2Create an automation named New Channel Persisted Resource Kit.
- 3Tell Notis to infer the channel context and run the registered persisted query for matching resources.
- 4Pick New Channel Created Trigger, choose the report destination, and test by creating one channel.
Questions about this workflow
What if the channel has no stated purpose?
Have Notis return the default resource set and note that the purpose was not provided.
Can the query be reused for other workflows?
Yes. The same registered persisted query can support multiple automations.
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.
Get CMA Token
Tool to retrieve a Contentful Management API (CMA) access token. Use when making CMA calls to ensure valid authorization.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
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.
New Channel Created Trigger
Triggered when a new channel is created in Slack.
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.
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
Direct Message Received
Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.
Message Reaction Added
Triggered when a reaction is added to a message in Slack. Supports optional filtering by channel and emoji name.
Message Reaction Removed
Triggered when a reaction is removed from a message in Slack. Supports optional filtering by channel and emoji name.
Reaction Added Trigger
DEPRECATED: use `SLACK_MESSAGE_REACTION_ADDED` instead. Triggered when a reaction is added to a message in Slack.
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.