GitHub Copilot/new-automation
Draft an automation
Opens the new-automation dialog with the name, schedule and prompt filled in.
Format
ghapp://automations/new?name={name}&trigger={trigger}&time={time}&day={day}&prompt={prompt}Try it
ghapp://automations/new?name=Weekly%20triage&trigger=weekly&time=09%3A00&day=1&prompt=Summarize%20new%20issuesOpenWhat you supply
{name}optionalWhat to call the automation.
{trigger}optionalHow often it runs.
{time}optionalLocal time of day, 24-hour
HH:mm.Encode the colon. Read for
dailyandweeklytriggers, ignored otherwise.{day}optionalDay of the week,
0–6with0as Sunday, or a weekday name.For
weeklytriggers.schedule_dayworks as an alias.{prompt}optionalWhat the automation should do each time it runs.
URL-encode it. It ends up in a URL, so keep secrets out of it.
The link opens the dialog. It does not create the automation — that still takes a person looking at it and clicking through.
Bad values are dropped rather than rejected, so an automation can arrive scheduled differently from how the link read. Check the dialog before confirming.
Both time and day take more than one value: time=08:00,13:00 for a daily automation that
runs twice (the minutes have to match), and schedule_day=1,3,5 for Monday, Wednesday, Friday.