PocketCode · WorkflowsAutomation that lives in the app
Event-driven automation on your phone: 25 triggers or a cron schedule, a step engine with branches, loops and parallel blocks, and 17 built-in templates.

Triggered by anything
React to what happens, or run on a schedule.
- Twenty-five trigger types from the app: git push, file saved, deploy, a shortcut on your home screen… (two have no event source in this build)
- Cron and interval scheduling in your device's time zone, with a 15-minute floor on Android
- Typed filters, such as path “*.kt”, and a button that captures the next real event

Real control flow
Not a linear macro — a step engine.
- Seven kinds of step: action, if/else, for-each, parallel, wait, try/on-failure, sub-workflow
- Shared context with variable bindings passed between steps
- Fifteen actions that run on the device: shell, HTTP, files, Git, deploy, database, AI and more

Runs that don't flake
Failure handling is built into every step.
- Retry on action steps, with fixed, linear or exponential backoff
- Timeouts and try/catch to contain errors
- Run history per workflow: 100 runs and 30 days by default, adjustable up to 1,000 runs and 365 days

Describe it, get a workflow
Plain words in, an editable workflow out. Free, on your own AI provider.
- A natural-language prompt becomes a workflow you can edit; with no AI key it falls back to keyword matching
- Visual editor: trigger, steps, reliability, undo and redo
- Share a workflow as a file; it arrives switched off, with a new id. Secret parameters are blanked; HTTP headers and commands are not
// spec
The spec sheet
✓ included in Free
The whole engine, free.
// works with
// faq
Frequently asked questions
Can you automate tasks on Android with PocketCode?
Yes. The workflows tool builds automations from 25 trigger types and 15 actions, with control-flow steps (if, loop, try), so you can chain multi-step jobs that run on your phone without wiring up an external automation service.
Can workflows run on a schedule?
Yes. You can trigger a workflow on a cron expression or a fixed interval, in your device's time zone, so recurring jobs run without you starting them by hand — for example a nightly backup or a periodic health check. Android doesn't run scheduled work more often than every 15 minutes.
Can AI build a workflow for you?
Yes. Describe what you want in a sentence and the generator turns it into a workflow you can review and edit. It uses the AI provider you set up with your own key (without one it falls back to simple keyword matching), and generating is free. With Pro, the AI chat can also create and update workflows for you.
Does it keep a run history?
Yes. By default it keeps the last 100 runs for 30 days (adjustable from 1–1,000 runs and 1–365 days), so you can review what each workflow did, inspect the output of every step, and debug a failed run instead of guessing why an automation misbehaved.
Are there ready-made workflow templates?
Yes. Seventeen built-in templates give you a starting point for common automations, so you can adapt an existing flow instead of building every workflow from a blank canvas — handy when you want a result quickly.
