Ask once. It runs by itself.
Tell Doodle what you do on repeat. It builds a workflow, a small graph of steps, and from then on runs it without being asked. This is Josh’s, which breaks down every CS2 demo he downloads.
“Whenever I download a CS2 demo, break it down for me.”
Run Python Parse the demo
{
"id": "analyse",
"type": "python",
"title": "Parse the demo",
"script": "analyze.py",
"function": "run",
"args": {
"src": "{{demo.path}}"
}
}Play the run to see what it gives back.
Runs
No runs yet on this page. The real run parsed the demo in 4 seconds.
How a workflow is put together
One trigger on the left starts it. The steps run along the wires, and each one gets what the steps before it gave back. When a step fails, the steps after it are skipped and the run is marked failed.
What starts it
Watch a folder
A new file lands in a folder, such as Downloads, and has finished downloading.
Gives: The file: its path, name and size.
On a schedule
A time comes: “every 30 minutes”, “every weekday at 9:00”.
Gives: The time.
When you run it
You press Run now, or ask Doodle to run it. Any workflow can be run this way.
Gives: The time.
What it can do
Run Python
Runs a script with Doodle’s own Python. It gets what the steps before it gave back, and can show things in Studio.
Run a program
Runs a program with no console window.
Open it
Opens a file, folder or web address in its usual app.
Show in Studio
Shows a 3D scene, canvas or chart in Doodle Studio.
Ask Doodle
Asks Doodle something, as if you had, with every tool it has. Good for “sum this up”.
Tell you
Shows a line of text in Doodle’s bar.
It doesn’t have to be CS2
Whatever you do on repeat, ask once.
“Whenever I save a receipt, add it to my spending chart.”
- New receipt in Receipts
- Read the shop and total
- Spending chart
“When I download lecture slides, make me flashcards.”
- New PDF in Lectures
- Pull out the text
- Make flashcards from it
“Keep my screenshots sorted.”
- New screenshot
- File it by app and month
- Say where it went
“Every Monday, put my new invoices in one spreadsheet.”
- Every Monday at 9:00
- Add new invoices to the sheet
- Open the spreadsheet
Yours to read and change
Each workflow is a folder in Documents\Doodle\workflows: the graph in workflow.json, its Python scripts, and a record of every run. Doodle picks up changes as soon as you save them.
The Workflows window shows them all in one place, each as a graph like the one above, with what every step did last time. Drag steps around, join them up, change a setting, run it now or switch it off.
- “Show me my workflows.”
- “Run my CS2 workflow.”
- “Turn off the screenshots one.”
See what the CS2 one makes
The 3D report from that run is on the play page: spin the map, scrub the rounds. Play the match in 3D