Skip to content
Notis

Use a saved Contentful search for each request

Reuse a registered query to look up the content behind incoming requests without rebuilding the search each time.

Trigger

New Gmail Message Received Trigger

Triggers when a new message is received in Gmail.

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 take time, and the right query may be easy to forget or misstate.

  • Reuse a persisted query that is already registered.
  • Keep request lookups consistent across incoming emails.
  • Return query results with the original request context.

Setup

Build it in a few focused steps.

  • 1Connect Gmail and Contentful graphql once in the Notis portal.
  • 2Create an automation by naming it and describing the outcome in one plain-language instruction, including the registered query hash and variables to use.
  • 3Pick New Gmail Message Received as the trigger.
  • 4Choose where run reports should go, then test with one real email and the existing query hash.

Questions about this workflow

Can this register a persisted query?

No. This action runs a query by hash. The query must already be registered; the first-call query text option does not register it.

What if I do not have a query hash?

Use the standard GraphQL Content API Query action for a configured query, or arrange for a persisted query to be registered before using this workflow.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Gmail 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

Email Sent

Triggers when a Gmail message is sent by the authenticated user. It polls the 'SENT' label and emits metadata including sender, recipients, subject, timestamp, and thread ID.

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 Gmail Message Received Trigger

Triggers when a new message is received in Gmail.

TriggerPolling

Connect any two apps with Notis in the middle.

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