Skip to content
Notis

Run a saved Contentful support query from WhatsApp

Reuse a Contentful query to bring relevant support content into the WhatsApp message workflow.

Trigger

New Message Received

Triggered in real time when your WhatsApp Business number receives an inbound message from a customer (text, media, location, or contact). Delivered via the Cloud API webhook.

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

Repeatedly recreating the same content lookup adds friction to routine support triage.

  • Reuses a persisted query for a recurring lookup.
  • Keeps the incoming message available as query context.
  • Reports the result for a person to review.

Setup

Build it in a few focused steps.

  • 1Connect WhatsApp and Contentful graphql once in the Notis portal.
  • 2Create an automation in Automations, New Automation, and name the support lookup.
  • 3In one instruction, tell Notis to run your persisted query with variables derived from the incoming message and report matching entries.
  • 4Pick the New Message Received trigger and choose where run reports go.
  • 5Test with one real support message and a valid persisted query hash.

Questions about this workflow

Does this create a persisted query?

The action executes a persisted query by hash and supports including the full query text on its first call. Your instruction must provide the query information needed for your setup.

Can it modify Contentful entries?

No. This action runs a Content API query and reports the results.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Whatsapp 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

Message Status Updated

Triggers when a WhatsApp message status changes. IMPORTANT LIMITATION: WhatsApp Cloud API does not provide a native polling endpoint for message status. Status updates are ONLY delivered via webhooks in real-time. This trigger cannot directly poll the WhatsApp API for status updates. This trigger will return empty results as WhatsApp does not support this operation. To track message status updates, you must: 1. Set up a webhook endpoint to receive status notifications from WhatsApp 2. Store the webhook data in your own database 3. Use a different mechanism to query your stored webhook data For more information, see: - https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks

TriggerPolling

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

New Message Received

Triggered in real time when your WhatsApp Business number receives an inbound message from a customer (text, media, location, or contact). Delivered via the Cloud API webhook.

TriggerInstant

Interactive Reply Received

Triggered when a customer taps a quick-reply button or selects an option from an interactive list message you sent.

TriggerInstant

Message Template Status Update

Triggered when the review status of a WhatsApp message template changes — for example approved, rejected, or flagged — on your WhatsApp Business Account.

TriggerInstant

Connect any two apps with Notis in the middle.

Whatsapp 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.