Run a saved Contentful query from an Ably event
When an Ably-connected process needs known content, run a saved query and keep the response with the event context.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
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
Repeated content lookups make teams re-enter the same criteria and interrupt the flow of work.
- Reuse a persisted query for repeatable lookups.
- Summarize query results next to the incoming request context.
- Avoid reworking the same content search.
Setup
Build it in a few focused steps.
- 1Connect Ably and Contentful graphql once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it for the saved query outcome.
- 3Tell Notis to run the appropriate registered persisted query with values from the incoming request, then summarize the results.
- 4Pick the webhook trigger and choose where run reports should go.
- 5Test with one real request and a registered query hash.
Questions about this workflow
Does this workflow register the persisted query?
No. The query must already be registered and have a hash. The first execution can include full query text; later executions can use the hash and variables.
What if the incoming request lacks a required variable?
Tell Notis to identify missing values in its response rather than inventing them.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Ably to Contentful graphql. A trigger fires from one place; an action lands in another.
Ably 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.
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.
Connect any two apps with Notis in the middle.
Ably 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.