Skip to content

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.

17 templates25 triggers7 kinds of stepcron · intervalAI generate
The workflow trigger picker open over a saved trigger, listing On git push, On git commit, On file save, Deploy completed and more, with a .js text filter and a Capture the next event button below

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
The Add step sheet with a search box, Shell, Git and Deploy category chips, and each action showing what it gives back: command, exitCode, stdout, stderr, durationMs, timedOut

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
The Problems panel warning that a template variable goes into the command unquoted, above the step with its error policy set to Stop and a Test this step button

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
Generate workflow from prompt: the sentence When I push to main, run npm test becomes a git push trigger and an npm test command, built by keyword matching because no AI key was set, with a dry run that passed in 9 ms

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

Built-in templates17
Trigger types25
Action types15
Step subtypes7 kinds
Control flowif · loop · parallel · try
Schedulingcron · interval
Run history1–1000 runs
AI generatorNL → flow

✓ included in Free

The whole engine, free.

// 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.

Put it in your pocket

Android 9+ · 64-bit · Free plan