
The Workflows dashboard, where you create and manage workflows.
Workflows replaced automations. Everything automations could do, workflows can do too, plus more:
- Multiple steps: Chain several actions together in one flow, instead of a single action.
- Conditions: Take different paths depending on your data, so the right steps run in each situation.
- Delays: Pause for minutes, hours, or even days between steps, then continue automatically.
- Step-by-step visibility: Watch each run in real time and see exactly which step succeeded or failed.
What can I use workflows for?
Workflows handle almost any backend work you want to happen automatically, especially when a task takes more than one step. For example:
- Nurture leads: When a new lead signs up, send a welcome email, wait 2 days, then follow up only if they have not replied or booked a call.
- Alert on conditions: Check inventory on a schedule and message your admins only when an item drops below its threshold.
- React to data changes: When a new product is added, notify your team and create a task to review it before it goes live.
- Keep tools in sync: When a Google Calendar event is cancelled, update the matching booking and email the customer.
- Send scheduled summaries: Every morning, email yourself a recap of the previous day’s orders and post the total to a Slack channel.
How workflows work
A workflow is made of a trigger and one or more steps. The trigger decides when the workflow starts. The steps decide what happens, in order, each time it runs: a step can run a backend function (code the AI writes for you), send one of your app’s designed emails, wait for a set amount of time, or take a different path based on a condition. When you describe what you want in the AI chat, Base44 builds the workflow for you. It appears in 2 places: your app’s file tree and the Workflows dashboard. Opening it shows a visual diagram that flows from the trigger through each step. Each run is recorded, so you can review what happened and fix any issues quickly. A workflow runs after something happens in your app. A hook is a type of workflow that runs before an action instead, so it can check your rules and block the action.
A workflow shown as a diagram, from the trigger through each step.
Example: welcoming a new lead. When a lead is created, the workflow sends a welcome email matched to their fitness goal, waits 2 days, then checks whether they booked a call. If they did, it adds the call to your calendar; if not, it sends a follow-up nudge.
Choosing a trigger
A workflow can start in several ways. When describing what you want to the AI chat, it helps to know which trigger fits your use case. Read more about each one below.Schedule
Scheduled workflows run at a time you define in your timezone. You can run one time, on a recurring schedule, or on an interval, for example every 30 minutes. A monthly schedule can also run on the last day of the month, or on a particular weekday of the month, such as the second Tuesday. Use these for recurring tasks like daily digests and weekly reports, or for a one-time job at a specific date and time. Example prompts:Send me a daily summary of all new orders to my email every morning at 8:00.Archive trip records that have been completed for more than 30 days, every Sunday at midnight.On the last day of every month, email me a summary of the month's sales.
Keep these in mind for scheduled workflows:
- Recurring schedules run at most once every 5 minutes, and you can set them to end on a date or after a number of runs.
- A schedule that reaches its end, including a one-time schedule after it runs, is archived automatically.
- A recurring schedule with no end keeps running until you deactivate or archive it.
- Every run uses integration credits for its steps, about 1 credit for every 10 steps. A 2-step workflow that runs every 5 minutes uses about 1,700 credits a month for its steps alone, before anything the steps do.
Data
Entity workflows run in response to changes in your app’s data, such as a record being created, updated, or deleted. Use these to react to activity in real time. Example prompts:Send a push notification whenever I add a new WishlistPlace and write any needed backend function for me.Send the admin an email whenever a new booking is created.
Agents
In-app agent workflows run once when an app user starts a new conversation with an in-app agent, not on every message they send. Use these to stay on top of who is reaching out, for example to get notified when a customer starts a chat, add them to your contacts, or send yourself a summary at the end of the day. Example prompts:Email me whenever someone starts a new conversation with my agent.Add the person to my Contacts list when they start a chat with my agent.
Connectors
Connector workflows run when a connected tool sends an event, such as a new email arriving in Gmail or a calendar event being updated in Google Calendar. The tool must support workflow triggers, such as Gmail, Google Calendar, Google Drive, Microsoft Outlook, Microsoft OneDrive, and Slack. When you choose a trigger, Connectors shows a few popular connectors first. Click Browse all connectors to see every connector that supports workflow triggers. When you pick a connector, the AI chat asks which event should start the workflow. Some popular connectors list a few example events. You can ask the AI chat for any event the connector supports. You can pick a connector even if your app hasn’t connected it yet. The AI chat asks you to connect it while it builds the workflow. You can add a condition so a workflow only runs for the events you care about. This matters most for busy tools like Slack, where you might want to run only for messages in a certain channel or from a certain person. Example prompts:When a new email arrives in Gmail with the subject "Book appointment", parse it and add a new booking to my app.When a Google Calendar event is cancelled, update the booking in my app and post a message in the #salon-general Slack channel.
App publish
App publish workflows run when you publish your app from the app editor. Use these to announce a release, tell your team an update is live, or run setup work the first time your app goes out. Example prompts:When I publish my app, post a message in my team's Slack channel.The first time my app is published, send me a summary email.
App publish runs on every successful publish, including when you restore a previous version. It does not run when you unpublish. You can add a condition so a workflow only runs on your app’s first ever publish.
Payments
App payment workflows run when a payment succeeds, a payment is refunded or a subscription ends in your app’s payment provider. Use these to fulfil an order, send a receipt, or update a record once someone has paid. The Subscription canceled trigger runs when a subscription is canceled, expires or is paused. It works with Base44 Payments, Stripe and PayPal. Example prompts:When a payment succeeds, mark the order as paid and email the customer a receipt.When a payment is refunded, update the order status and let my team know.
Keep these in mind for app payment workflows:
- You need a connected payment provider. Until you connect one, Payments doesn’t appear when you choose a trigger, and you can’t turn on a workflow with this trigger.
- Failed payment attempts do not start a workflow, and neither do payments with no amount, such as a free checkout or a 100% discount.
- Test payments do start a workflow, so add a condition if you only want real ones.
- Subscription renewals may not start a workflow yet, so avoid building one that only reacts to renewals.
- The payment details passed to your workflow do not include the customer’s email or other personal details. A backend function can fetch the full details from your provider when you need them.
App user auth
App user auth workflows run when someone signs up for your app or logs in to it. Use these to welcome new app users, set up their account, or let your team know who joined. Choose Signup or Login under App user auth when you pick the trigger.This trigger appears only for apps that require login. If your app is public without login, people never sign up or log in, so there is nothing for it to react to.
When someone signs up, send them a welcome email and add them to my newsletter list.When a user logs in, update their last active date.
- Public apps: Signup runs the first time a person signs in successfully, after they verify their email or sign in with a provider such as Google. Login runs every time they sign in after that.
- Private and workspace apps: Signup runs when an admin approves someone’s access request, not when they first log in. Login runs every time an approved user signs in.
Media generation
Media generation workflows run when a video your app generates in the background is ready or fails. Videos can take several minutes to generate, so instead of keeping a page open until one finishes, the workflow picks up the result: it can save the video, let the person who asked for it know, or show it on a page that is open. Choose Video ready or Video failed under Media generation when you pick the trigger. When your app starts a video, it can attach a few details, such as the order or project the video is for. The workflow receives them with the video, so it knows where the result belongs. Example prompts:When a product video is ready, save it to the product and show it on the product page.If a video fails, let the person who asked for it know and offer to try again.
Media generation workflows run for videos your app generates in the background, which the AI uses for longer videos or advanced options such as reference images or a choice of model. A video from the GenerateVideo integration is returned right away, so it does not start a workflow.
Creating a workflow
To create a workflow, click Create workflow in your app dashboard. Base44 opens a Create a new workflow canvas, where you start from a trigger, start from an action, or pick one of the suggestions based on your app. From there, you describe what you want in the AI chat and it creates the workflow, asking any questions it needs. You keep refining it in the chat until it works the way you need. Each time the AI creates or updates a workflow, a card for it appears in the chat. Click the card to open the workflow in the editor.Starting from a trigger
Start from a trigger when you already know how the workflow should begin. Your choice adds a prompt to the AI chat, and the AI builds the workflow with you and adds it to your Workflows list.
Adding a trigger to a new workflow.
- Go to your app editor.
- Click Dashboard.
- Click Workflows.
-
Click Create workflow.
If your app has no workflows yet, the page shows “Create your first workflow” with Add trigger already on it. Skip to step 5.
-
Click Add trigger.
What you might see:
- Another name: On some apps, this button is called Add starting point. It opens the same list.
- Types for your app: You only see the types your app can use. For example, Agents appears once your app has an in-app agent, and Payments appears once it has a connected payment provider.
-
Choose a type of trigger on the left, then choose an option on the right:
- Schedule: Run once, on a recurring schedule, or at an interval, such as every 15 minutes.
- Connectors: Run when something happens in a connected tool, such as a new email in Gmail. Click Browse all connectors to see the full list.
- Agents: Run when someone starts a conversation with one of your in-app agents.
- Data: Run when a record in one of your app’s entities is created, updated, or deleted.
- App user auth: Run when someone signs up for your app or logs in to it.
- App publish: Run when a new version of your app goes live.
- Media generation: Run when a video your app generates in the background is ready or fails.
- Payments: Run when a payment is received or refunded, or a subscription is canceled.
- Webhook: Run when another service sends an event to a webhook URL. The AI chat gives you the URL to paste into that service.
- Before an action: Create a hook, which checks your rules before your app takes an action, such as saving a record. You only see this type if step 5 says Add starting point.

Choosing a trigger for a new workflow.
- Add what the workflow should do to the prompt in the AI chat, then send it.
- Answer any follow-up questions the AI asks.
- If you picked a connector your app hasn’t connected yet, click Connect to and the connector’s name in the AI chat, then sign in to your account.
Starting from an action
Start from an action when you know what the workflow should do but haven’t decided what should set it off. The AI asks you about the trigger as it builds, then adds the workflow to your Workflows list. To create a workflow from an action:- Click Dashboard in your app editor.
- Click Workflows.
- Click Create workflow.
- Click Add action, then choose what the workflow does:
- Backend function: Run custom code, like updating data or calling an API.
- Condition: Take a different path depending on a rule.
- Wait: Pause for a set time before the next step.
- Describe your own: Tell the chat what this step should do.
- Finish the prompt your choice adds to the AI chat, then send it.
- Answer any follow-up questions the AI asks.

Choosing an action on the Create a new workflow canvas.
Starting from a suggestion
Start from a suggestion when you want a ready-made idea tailored to your app. The AI builds it and adds it to your Workflows list. To create a workflow from a suggestion:- Click Dashboard in your app editor.
- Click Workflows.
- Click Create workflow.
- Under Or start from these workflows, choose a suggestion.
- Review the pre-filled prompt in the AI chat, adjust it if needed, and send it.

Choosing a workflow suggestion.