AI Agent Use Cases

Added today

44All 189

Prompt to Prepare a Shopping Cart from a Recipe Photo

The author reports that Grok Bot receives a recipe photo, organizes the ingredients and quantities, and creates a shopping list by excluding ingredients already available at home.

Grok Bot
Life & Hobbies

1–20 of 189

Work & ResearchWalkthrough

Create Customer Folder and Welcome Email After Payment

When n8n detects a Stripe payment, it automatically creates a Drive folder for the new customer, sends a Slack notification, and delivers a welcome email. Recurring payments are handled separately.

How it works

  1. Receive payments using Stripe's invoice.paid webhook, and distinguish between new and recurring payments using the billing_reason value.
  2. If the customer is new, create a Client Workspace folder and grant edit access to the customer's email.
  3. Then, set up the workflow to send both a Slack notification and a Gmail welcome email.

Results

The author reported that manual input was eliminated. They did not disclose the amount of time or money saved.

Notes

This post was written to share the structure and code, so the actual scale of operations is unknown.

Source

Reddit Original post ↗

Example prompt · n8n

Implement an n8n workflow that prepares a workspace folder and welcome email for new customers after a Stripe payment.

Input: Stripe test connection [account], Drive parent folder [ID], Slack channel [channel], welcome email template [text], sheet for logging [document]. Credentials should be loaded from n8n credentials.

Receive the invoice.paid event and branch using billing_reason. Route subscription_create and manual to the new customer path, where you create a Drive folder, grant the customer access, and prepare a Slack notification and welcome email. Route subscription_cycle to the renewal path, where you do not recreate the folder but send a renewal notice instead.

In all paths, log the payment identifier, customer, amount, folder link, and processing result. Ensure that folders and emails are not duplicated if the same event arrives again, and configure the workflow so that if some steps fail, completed actions are not repeated on retry.

Deliverable: Workflow JSON and connection explanation. Use test data to verify new, renewal, duplicate event, and email failure cases, and show the email content to be used before running for real customers.