This page publishes an n8n workflow template that emails a customer a Frank AI Researcher (Frank) voice-interview invite after their Stripe subscription ends.
Frank is an AI user researcher that runs short voice interviews. Works with ChatGPT, Claude, Grok and Muse, plus other MCP clients that support remote servers with OAuth. This template does not treat n8n as a validated Frank MCP client.
Import file: workflow.json
Learn more about Frank: https://hifrank.ai/?utm_source=frank-mcp-docs&utm_medium=template&utm_campaign=churn-template
Frank’s Free plan includes 225 signup credits plus 60 voice minutes a month, with no card required.
The canvas below was imported into a local n8n 2.49.6 instance. No Stripe, email, or Frank credentials were connected, and the workflow was not executed.




customer.subscription.deleted. Stripe sends this event when a subscription actually ends, not always at the moment a customer clicks cancel. If the customer cancelled at period end, the event arrives when the period ends.Customer → Get) so the workflow can read their email and name. The subscription event usually contains only a customer ID, not an email address.https://api.hifrank.ai/mcp and use the list_researches tool to look up a published study’s interviewer link. That branch is off until you set useFrankMcp to true and connect an MCP OAuth2 credential. It only reads existing studies. It does not create or publish a study, and it does not spend Frank credits. Frank MCP OAuth is not a drop-in setup in n8n today; see Frank MCP and OAuth in n8n.sk_test_… for test mode, sk_live_… for live mode). Do not use a publishable key. See Stripe credentials.interviewLink: your published Frank interviewer link (required before you go live).fromEmail: a sender your SMTP account is allowed to use, for example Research team <research@example.com>.companyName and productName.studyName: used only if you turn on the optional MCP lookup.emailSubject if you want a different subject.useFrankMcp set to false unless you have completed the MCP OAuth setup below.Created by n8n for workflow ID:), copy the signing secret (whsec_…), and paste it into the Stripe credential as the Signature Secret. n8n can verify signatures from n8n 2.25.7 and 2.26.2. See Verify incoming requests.| Credential | Used by | What to enter |
|---|---|---|
| Stripe API | Stripe Trigger, Stripe | Secret key. Signature Secret after the webhook exists. |
| SMTP | Send Email | Host, port, user, and password or app password for your mailbox. |
| MCP OAuth2 API (optional) | MCP Client | See below. Leave disconnected if useFrankMcp is false. |
The exported JSON contains only placeholder credential IDs and names. It contains no API keys, tokens, or real account IDs.
The default path does not call Frank over MCP. Use it: create and publish the churn study in Frank, paste the interviewer link, and send the invite by SMTP.
The optional MCP branch needs a working Frank OAuth client in n8n. Frank does not support Dynamic Client Registration (POST /oauth/register returns 404). n8n’s MCP OAuth2 credential can use a Client ID Metadata Document from n8n 2.47.0 if CIMD is enabled on a publicly reachable HTTPS instance, or a pre-registered client. Generic OAuth2 is a poor fit because it has no Resource URL field, and Frank’s resource is https://api.hifrank.ai/mcp.
If you turn useFrankMcp on and the MCP call fails, the workflow falls back to the pasted interviewer link. If you do connect MCP OAuth2, request only the read scopes you need (research:read is enough for list_researches).
There is no separate “create invite” tool. The shareable invite is the interviewer link on a published study, which list_researches returns.
n8n-nodes-base.gmail, Message → Send) with a Google credential, map the same from/to/subject/body fields, and reconnect it in place of the Send Email node. See Gmail docs.customer.subscription.deleted fires when the subscription ends. If you want to invite the customer at the moment they request cancellation, add or switch to customer.subscription.updated and keep only events where the subscription is set to cancel at period end (for example cancel_at_period_end is true). Test this path carefully so you do not send two invites.