Templates / Generate AI text and images with Claude and Stripe metered billing

Generate AI text and images with Claude and Stripe metered billing

Ready for 3.0

by Oneclick AI Squad ✓ · 14 views · created 2026-09-17 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.stripe.com and api.anthropic.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Set - Config (Edit Fields (Set)): sets 8 fields: apiKey, contentType, prompt…
  2. HTTP Request: calls api.stripe.com
  3. JS - Resolve Customer (Code): runs custom JavaScript code
  4. If: checks a condition and branches into true / false
  5. HTTP Request: calls api.stripe.com
  6. Respond - Unauthorized (Respond to Webhook): sends the response back to the webhook caller
  7. JS - Parse Subscription (Code): runs custom JavaScript code
  8. HTTP Request: calls an HTTP API
  9. JS - Check Entitlement (Code): runs custom JavaScript code
  10. If: checks a condition and branches into true / false

…plus 10 more steps. See the full node list below.

HTTP calls to: api.stripe.com, api.anthropic.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Quick overview This workflow exposes a POST webhook that authenticates requests against Stripe customer metadata, checks an active subscription and metered usage limits, generates text with Anthropic Claude or images via an external image API, records Stripe…

Excerpt from Oneclick AI Squad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.