A welcome flow is the highest-leverage automation you can build. It runs once, reaches every new signup at exactly the right moment, and compounds over time as your list grows. This recipe walks through building a 3-step welcome flow triggered by a new user signup. The same pattern works for newsletter subscribers, trial users, or any other entry point.Documentation Index
Fetch the complete documentation index at: https://docs.brew.new/llms.txt
Use this file to discover all available pages before exploring further.
Before you start
You need a verified sending domain. See Verify your sending domain.1. Set up your trigger
You have two options depending on your stack. Option A: Use an integration. If you use Stripe or another connected platform, Brew can use their events as triggers directly. Connect your integration in Integrations and the relevant events become available in the automation builder. For a welcome flow,customer.subscription.created is the most common Stripe trigger — it fires the moment someone starts a subscription. Check the integrations page for the full list of supported platforms and their available events.
Option B: Custom event. If you want to trigger from your own backend, Brew can create the trigger event for you as part of generating the flow. Just describe it in your prompt in step 2 and Brew sets it up. Once the flow is generated, wire up the event in your backend via the API Reference.
2. Generate the flow
Open Home and describe what you want in the chat. A simple prompt is enough:3. Review and edit each email
Click any Send Email node in the diagram to open that email. You have three ways to refine it: Edit with AI via the flow chat. Use the chat panel on the left to make changes across the whole flow or to a specific email:- “Make the first email shorter and more direct.”
- “Add the recipient’s first name to the subject line of email 2.”
- “Make email 3 feel less like a case study and more like a quick story.”
{{{firstName}}} anywhere in the email body or subject line. If no name is available, add a fallback: {{{firstName | there}}} renders as “Hi there” when the field is empty.
4. Test the flow
Test at two levels before publishing. Individual emails. Click any Send Email node in the flow diagram, then click Test in the toolbar. A preview modal opens — enter one or more email addresses separated by commas and click Send Preview. The subject line is prefixed with[PREVIEW] so it’s easy to spot in your inbox. Preview emails don’t affect analytics.
The full flow. Once individual emails look right, open the flow and click Test automation. Enter a test email address and fill in the trigger payload fields — these are the values Brew uses to personalize the emails during the test run. Click Fire test. Brew runs through the entire flow exactly as a real event would, sending all emails to the test address only. Real contacts on the trigger payload are never hit on test runs.
Recent test runs appear at the bottom of the modal so you can confirm the flow fired correctly.