Retrieve Contentful CMA authorization when an Adafruit IO event arrives
Use a device event as the signal to obtain the Contentful authorization your separate CMA process needs.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Get CMA Token
Retrieves an access token for content management.
Why this helps
A process that calls Contentful's Management API can lose time when valid authorization is not ready at the point of work.
- Retrieve a CMA access token in response to a device event.
- Use the event as a clear starting signal for an authorized follow-on process.
- Avoid treating a read-only GraphQL query as a content publishing action.
Setup
Build it in a few focused steps.
- 1Connect Adafruit IO and Contentful GraphQL once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it.
- 3Tell Notis to retrieve the Contentful CMA token when the incoming device event indicates the authorized process should begin.
- 4Pick the webhook trigger and choose where run reports should go.
- 5Send one real event and confirm the token retrieval result.
Questions about this workflow
Does retrieving a token publish Contentful content?
No. This action retrieves a CMA access token. It does not create or update entries.
Does the workflow decide which CMA operation to perform?
No. The available action gets authorization only; a separate supported process must make any intended CMA calls.
How does Adafruit IO start the workflow?
Adafruit IO has no listed trigger events, so an HTTP request must send the device event to a Notis webhook.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Adafruit IO to Contentful graphql. A trigger fires from one place; an action lands in another.
Adafruit IO triggers
Contentful graphql actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Get CMA Token
Retrieves an access token for content management.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
GraphQL Content API Persisted Query
Executes a persisted GraphQL query.
Connect any two apps with Notis in the middle.
Adafruit IO 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.