Skip to content
Notis

Run a saved Contentful query when an email arrives

For recurring requests, route new emails through a registered persisted query and get the returned Contentful data in your run report.

Trigger

New Email Received

Trigger for new emails in an AgentMail inbox

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 requests can mean rerunning the same lookup and rebuilding the same answer by hand.

  • Reuses a registered query for repeatable lookups.
  • Reduces repeated manual searching for the same data.
  • Returns query results alongside the automation report.

Setup

Build it in a few focused steps.

  • 1Connect Agent mail and Contentful graphql once in the Notis portal.
  • 2Create an automation in Automations, New Automation, and give it a name.
  • 3In one instruction, tell Notis which inbound emails should use your registered persisted query and how to report its results.
  • 4Pick New Email Received as the trigger and choose where run reports go.
  • 5Test with one real email and a persisted query hash already registered in Contentful.

Questions about this workflow

Does the query need to be registered first?

Yes. The persisted query action runs a query by its SHA256 hash, so provide a registered hash. On its first call, the full query text is also required.

Can this workflow create or publish content?

No. The persisted query action fetches data; it does not create, update, or publish entries.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Agent mail 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

New Email Received

Trigger for new emails in an AgentMail inbox

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

Connect any two apps with Notis in the middle.

Agent mail 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.