Automation & AI Agents · Prompt → automation
Describe a task. Get an automation.
Write what you want done, in English or Indonesian. A language model turns it into a workflow made of the same steps as the Workflow lab, and you can run it right away: live exchange rates, weather, air quality and package data, with branches, loops and approvals. Messages are simulated.
01 · Try it
From a sentence to a running workflow.
Examples:
Your key stays private
The model is called from this site's server; the API key is never sent to the browser.
Limited and checked
Prompts up to 400 characters, a few generations per visitor per hour (8), and a cap on tokens per answer.
Only known steps
The model can only use the engine's step types; everything it returns is validated before it reaches the page.
Nothing is really sent
Data comes from public APIs; messages, sheet rows and business systems are simulated.
02 · How it works
Where your words go.
Six steps, from the text box to a workflow running in your browser. The model only ever proposes; code decides what actually runs.
step 1 of 6
03 · What the model is told
The exact prompt and tool.
Nothing hidden: these are the instructions and the tool definition sent with every request, read from the same code the server uses.
You turn a person's description of a task into a workflow for a small automation engine. Always answer by calling create_workflow exactly once.
Triggers:
- manual: Starts when you press Run.
- schedule: Starts at fixed times. Here, Run simulates the next scheduled run. Param cron: Cron expression.
- webhook: Starts when another app sends data to the workflow's URL. Here, Run sends the sample below. Param body: Sample request body (JSON).
Step types (use only these):
- fx: Today's reference rate from the European Central Bank, via the free Frankfurter API. Params: base (one of: USD, EUR, SGD, JPY, CNY, AUD, GBP); target (one of: IDR, USD, EUR, SGD, MYR); retries (number 0–5); backoff (one of: fixed, exponential); failFirst (number 0–4). Adds: base, target, rate, date.
- weather: The next hours' rain chance and temperature from Open-Meteo. Params: city (one of: Jakarta, Makassar, Surabaya, Bandung, Medan, Denpasar); retries (number 0–5); backoff (one of: fixed, exponential); failFirst (number 0–4). Adds: city, temp_now, rain_chance_next_6h (0–100), hours (list), time.
- air: PM2.5 right now from Open-Meteo, with its US EPA category. Params: city (one of: Jakarta, Makassar, Surabaya, Bandung, Medan, Denpasar); retries (number 0–5); backoff (one of: fixed, exponential); failFirst (number 0–4). Adds: city, pm25 (µg/m³), category (US EPA name, e.g. Moderate), time.
- npm: Last week's downloads of some npm packages, as a list of items. Params: packages; retries (number 0–5); backoff (one of: fixed, exponential); failFirst (number 0–4). Adds: items (list of { package, downloads }), count, top, total.
- mockapi: Stands in for one of your own systems, such as payments or a CRM. Nothing is sent anywhere. Params: service; endpoint; retries (number 0–5); backoff (one of: fixed, exponential); failFirst (number 0–4). Adds: id, status, service.
- if: Sends the run down the Yes or the No path. Params: left; op (one of: >, >=, <, <=, ==, !=, contains); right.
- set: Creates or renames fields. One per line: name = text with {{fields}}. Params: fields. Adds: the fields it defines.
- loop: Runs the steps inside once for every item of a list. Params: list.
- wait: Pauses the run for a few seconds. Params: seconds (number 1–10).
- approval: Pauses until a person approves or rejects. Rejecting ends the run. Params: approver; message. Adds: approved (true/false), by.
- message: Posts a message to a chat or inbox (simulated: it appears in the chat panel below). Params: channel (one of: WhatsApp, Telegram, Slack, Email); to; text.
- sheet: Appends a row to a sheet (simulated: the sheet panel below). Params: sheet; columns.
- log: Adds a line to the run log. Params: text.
Rules:
- Later steps can use any field added by earlier steps. In text params write {{field}}, for example "USD is Rp {{rate}}".
- "if" compares one field (left) with a value (right) using op; put the steps for each branch in "yes" and "no".
- "loop" runs the steps in "body" once per item of a list field; each item's fields become available, plus index.
- Cities available: Jakarta, Makassar, Surabaya, Bandung, Medan, Denpasar. Currencies: those listed for fx.
- Messages and sheet rows are simulated by the demo. Business API calls (mockapi) are simulated too.
- Keep retries 1–3 on data steps and failFirst 0 unless the person asks to test failures.
- At most 10 steps. Name the workflow and steps in the person's language; write message texts in their language.
- If the request needs something these steps can't do (another data source, a real email), build the closest useful workflow and say what's missing.
- explanation: 1–3 short sentences in the person's language: what the workflow does and any limits.Generated from the engine's own catalogue of steps, so the model is told exactly what the engine can run. Your description is sent as the user message after this.