Prepare Contentful access from Slack
Keep authorization ready when a team request needs Contentful management access.
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
Get CMA Token
Tool to retrieve a Contentful Management API (CMA) access token. Use when making CMA calls to ensure valid authorization.
Why this helps
API access checks interrupt work when authorization is handled manually at the last minute.
- Reduce authorization delays
- Use a current token retrieval step before CMA work
Setup
Build it in a few focused steps.
- 1Connect Slackbot and Contentful graphql once in Notis.
- 2Create an automation named Channel CMA Token Readiness.
- 3Tell Notis to retrieve a valid Contentful CMA token when a channel message explicitly requests management API access, and report readiness without exposing the token.
- 4Pick Channel Message Received, choose a secure report channel, and test with one authorized request.
Questions about this workflow
Will the token be posted in Slack?
Instruct Notis to report only that authorization is ready and never include the token value.
Does this publish content by itself?
No. This action retrieves a token for a later CMA call.
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.