Check for catalog content when a Stripe product is created
When a new product appears in Stripe, quickly check whether your Contentful catalog has related content and surface the result for review.
Trigger
Product Created Trigger
Triggered when a product is created in Stripe
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
A new billing product can go live while its corresponding catalog content is still hard to find or has not been prepared.
- Spot whether related catalog content is available.
- Give launch reviews a single place to see the Stripe event and query results.
- Reuse a persisted query for repeated catalog checks.
Setup
Build it in a few focused steps.
- 1Connect Stripe and Contentful graphql once in the Notis portal.
- 2Create an automation and tell Notis what catalog content to look up for a new Stripe product.
- 3Pick the Stripe Product Created trigger and choose where run reports should go.
- 4Test with one real product event; include the full query on its first call, then use its persisted hash for later calls.
Questions about this workflow
Does this create or publish Contentful content?
No. The available action runs a persisted GraphQL query and returns matching content for review.
What happens on the first query call?
Include the full query text on the first call. Later calls can run the persisted query by its hash and variables.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Stripe to Contentful graphql. A trigger fires from one place; an action lands in another.
Stripe 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.
Charge Failed Trigger
Triggered when a direct charge fails in Stripe's legacy Charges API
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.
Checkout Session Completed Trigger
Triggered when a checkout session is completed in Stripe
Invoice Payment Succeeded Trigger
Triggered when an invoice payment is successful in Stripe
Payment Intent Failed Trigger
Triggered when a payment intent fails in Stripe
Product Created Trigger
Triggered when a product is created in Stripe
Subscription Added Trigger
Triggered when a subscription is added in Stripe
Connect any two apps with Notis in the middle.
Stripe 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.