Run recurring batch jobs on subscriptions
Scheduled execution of bulk actions on Stripe objects, such as updating metadata on active subscriptions, without manual intervention.
How it works
The agent sets up a workflow triggered on a recurring schedule (e.g., daily or monthly). It uses the 'Loop over collections' feature to iterate over a list of Stripe objects, such as active subscriptions. The agent configures the loop to apply specific actions to each item, like updating metadata. The user must check that the loop logic correctly targets the intended objects and that the actions are idempotent to prevent unintended repeated effects.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Set up a scheduled Stripe Workflow that runs every Monday. It should loop over all active subscriptions for a specific customer and update their metadata field 'last_checked' to the current date.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
Loop over collections Iterate over a list of Stripe objects and apply the same actions to each item.Workflows | Stripe Documentation