Build monday.com automations with GitHub Copilot CLI

For teams that already use GitHub Copilot. Copilot CLI uses the same Microsoft Power Automate plugin as Claude to build, check, save and test the whole automation.

About 15 minutesMac and WindowsNeeds a GitHub Copilot plan
Showing steps for:

You need

  • A GitHub Copilot plan. Through an organization, an admin must allow Copilot CLI.
  • Node.js 18 or later and the Azure CLI (step 1 installs them)
  • PowerShell 6 or later
  • Plugin Genie installed, the monday connector connected in Power Automate (Getting Started), and permission to create flows

Steps

  1. Install Copilot CLI, Node.js and the Azure CLI

    In Terminal (this uses Homebrew), then open a new Terminal window:

    brew install node azure-cli brew install --cask copilot-cli

    In PowerShell, then close and reopen PowerShell so the new commands are found:

    winget install OpenJS.NodeJS.LTS winget install Microsoft.AzureCLI winget install GitHub.Copilot
  2. Sign in to Azure

    In TerminalPowerShell, run these and check the account shown is the one that owns your Power Automate environment:

    az login az account show
  3. Start Copilot in an empty folder and sign in to GitHub

    In TerminalPowerShell:

    mkdir flows cd flows copilot

    On first launch, type /login and follow the prompts.

  4. Install Microsoft's Power Automate plugin

    Paste these one at a time, then restart copilot so the plugin loads.

    /plugin marketplace add microsoft/power-platform-skills /plugin install power-automate@power-platform-skills
  5. Check setup and choose your environment

    Paste these one at a time. Replace [your environment] with the name of the Power Automate environment where your monday connection lives.

    /power-automate:setup /power-automate:route-environments Resolve the environment named [your environment], show its ID, and make it current after I confirm.
  6. Build your first automation
    /power-automate:create-flow Using the Plugin Genie monday connector, when an item on my monday.com board "Projects" changes its Status column to "Done", post a message in the Teams channel "Delivery" in the team "Operations" with the item name and the Owner column.

    If slash commands don't appear, ask in plain English: "Use the power-automate create-flow skill to…"

  7. Check it worked

    Open the automation in Power Automate and read each step. Change a test item in monday.com, confirm the result arrives, and check the run history shows every step succeeded.

Prompts to copy

Swap in your own board, column and channel names, then paste into GitHub Copilot CLI.

Teams

/power-automate:create-flow Using the Plugin Genie monday connector, when an item's Status changes to "Stuck" on my "Projects" board, post the item name and owner to the "Team" channel in Teams.

Microsoft Forms

/power-automate:create-flow When a new response arrives for the form "Client intake", use the Plugin Genie monday connector to create an item on my "Intake" board and fill the Email and Request columns.

SharePoint

/power-automate:create-flow Using the Plugin Genie monday connector, when an item is created on my "Clients" board, create a matching item in the SharePoint list "Clients" at [site URL].

Outlook

/power-automate:create-flow Every Monday at 8am, use the Plugin Genie monday connector to get items on my "Projects" board whose Due date has passed and whose Status isn't "Done", and email me the list.

Excel

/power-automate:create-flow Using the Plugin Genie monday connector, when a new update is posted on an item on my "Support" board, add a row to the Excel table "Activity" in [file] with the item name, author and update text.

Planner

/power-automate:create-flow Using the Plugin Genie monday connector, when a sub-item is created on my "Launch" board, create a matching task in the Planner plan "Launch tasks" and assign it to the sub-item's owner.

Tips for better results

  • Start with "Using the Plugin Genie monday connector" so it picks Plugin Genie's monday.com steps.
  • Put board, column and channel names in quotes, spelled as they are in monday.com.
  • Say when it should run first, then what should happen.
  • If the automation updates the same board that starts it, add "don't re-trigger on the automation's own changes" to avoid loops.

Questions about GitHub Copilot CLI

My organization blocks Copilot CLI.

An organization admin has to allow Copilot CLI in your GitHub Copilot policies.

Slash commands don't appear.

Restart copilot after installing the plugin. If they still don't appear, ask in plain English, for example "Use the power-automate setup skill."

It can't find the monday connector.

Ask: "List all connectors in this environment, including custom ones." If monday isn't there, check that the monday connection exists in Power Automate, in the environment you chose with /power-automate:route-environments.

It signed in to the wrong Microsoft account.

In TerminalPowerShell, run az logout, then az login with the account that owns your Power Automate environment. Check it with az account show.

The automation ran but something failed.

Ask it to fix it with /power-automate:debug-flow, or open the run history in Power Automate to see which step failed. Still stuck? Contact us.

Your next automation is one sentence away

Add to monday.com

Free trial · Have questions? Reach out to us.