{
  "workflow_id": "run_recipes_in_order",
  "description": "Runs several recipes one after another with a single command. Each step names one recipe file. Replace the two file names with your own.",
  "tasks": [
    {
      "id": "first_job",
      "trigger": "manual",
      "action_type": "invoke_recipe",
      "target": "recipes/files/whats_new_today.json",
      "payload": {},
      "next": "second_job"
    },
    {
      "id": "second_job",
      "trigger": "after:first_job",
      "action_type": "invoke_recipe",
      "target": "recipes/web/api_with_retries.json",
      "payload": {},
      "next": "all_done"
    },
    {
      "id": "all_done",
      "trigger": "after:second_job",
      "action_type": "notify",
      "target": "stdout",
      "payload": {
        "message": "Both jobs finished, in order."
      }
    }
  ]
}
