Skip to content
Context docs
Use Context

Automations

An automation runs an agent with the same instructions each time, either on a schedule or when something happens in another app. Each run is a task you can open, and the results are saved to Drive.

Create a scheduled automation

  1. Go to Home > your workspace > Automations.
  2. Click Create automation. To pick the trigger first, open the arrow next to it and choose On a schedule, On a GitHub event or From another app. Give it a title, such as “Weekly sales summary”.
  3. Under Agent (“Who does the work”), choose the agent. The automation keeps the agent it was made with.
  4. Under Instructions, say what to do on each run. For example:

    Read the latest file in @Juniper Weekly Sales. Write a one-page summary of this week vs last week: total sales, top five products, and anything that moved more than 20%. Save it as a .docx in the same folder, named with today’s date.

  5. Click Add trigger and choose Schedule. You can run it every hour, every day, every weekday or every week, at a time and time zone you choose.
  6. Check Runs on and Runs as. Runs use a cloud sandbox unless you pick a paired machine, and they run with your access.
  7. Create the automation. It is on as soon as you create it, and each run appears under Runs.

To repeat a task you already have, click + > Automations in the composer to send it later or on a schedule.

Write instructions for unattended runs

An automation can’t ask you questions during a run, so the instructions must say everything the agent needs:

  • Name the exact folder, file and format.
  • Put the date in the file name, such as “Sales summary 2026-11-02.docx”, so each week’s report is kept separately.

To change the instructions after a run, click Edit. The Calendar view on the Automations page shows what runs when.

Other triggers

  • GitHub event runs when something happens in a repository. Pick the event and the repository. GitHub must be connected.
  • Another app runs when any service sends a web request. When you create it, you get an address and a secret key.

Pause or remove an automation

Each run uses credits. To stop runs, click Pause or delete the automation.

Best practices

  • Test the instructions as a task first. Create the automation once a task produces the right result.
  • Check the schedule’s time zone. It matters most when your team is in several countries.
  • Check the first three runs. Open them from Runs, and if something is wrong, click Edit and fix the instructions.

Next steps