How to trigger Axiom.ai automations using Power Automate

Power Automate offers a powerful Windows experience to build out automations for your desktop applications. When paired with Axiom.ai automations there is nothing that you can't automate in order to power up your workflows.

This guide assumes that you already have an automation set up, want to create a trigger using Power Automate, and have an Axiom.ai plan that supports webhooks.

# Getting started


To get started, you will need the following from the Axiom.ai Chrome extension:

  1. API key - The API key is found on the dashboard.
  2. Automation name - Get the name of the automation you wish to trigger.
  3. Endpoint - The current endpoint is https://lar.axiom.ai/api/v3/trigger.

# Trigger an Axiom.ai automation with Power Automate


Learn how to trigger your Axiom.ai automations with Power Automate. The methods vary depending on if you are using desktop or web so be sure to select the right instructions before continuing.

# Triggering with the Power Automate desktop app


You will first need to ensure you have installed Power Automate (opens new window) from the Microsoft Store.

  1. New flow - Open Power Automate, tap "+ New flow" to create a new flow.
  2. Configure - You can add any number of steps to your flow, or use an existing flow to trigger your Axiom.ai automation.
  3. Invoke web service - Search for the "invoke web service" action, add this to your flow.

To configure the invoke web service action, you'll need to enable the following:

  1. URL - The current endpoint is https://lar.axiom.ai/api/v3/trigger.
  2. Method - Set to POST.
  3. Accept - Set to application/json.
  4. Content Type - Set to application/json.
  5. Request body - This should be set to the per our API | Triggering an automation documentation.
  6. Encode request body - This should be disabled.
set up invoke web service action in power automate

# Triggering with the Power Automate web app


You can access Power Automate (opens new window) on the web. This requires a paid subscription with Power Automate.

  1. Create a new flow - Open Power Automate (opens new window) on the web, create a new "instant-" or "scheduled cloud flow".
  2. Select trigger - Set to your desired trigger - this guide will focus on the "manually trigger a flow" option.
  3. Add HTTP action - Click "new step" and search for the HTTP action.

To configure the HTTP action, you'll need to enable the following:

  1. URL - The current endpoint is https://lar.axiom.ai/api/v3/trigger.
  2. Method - Set to POST.
  3. Headers - Set to Content-Type: application/json.
  4. Request body - This should be set to the per our API | Triggering an automation documentation.

# Trigger a Power Automate flow with an Axiom.ai automation


This guide is only applicable to Power Automate (opens new window) on the web. Power Automate's desktop app currently does not support triggers via webhook.

  1. Create a new flow - Open Power Automate (opens new window) on the web, create a new "instant-" or "scheduled cloud flow".
  2. Select trigger - Set your trigger to "when a HTTP request is received".
  3. Configure - Set the "when a HTTP request is received" action to allow for triggering from "anyone". Note: consider your organisations security needs before enabling this. Optionally, you can set a "request body JSON schema".
  4. Save & get URL - Save your flow to generate the webhook URL, save this for later - this will be unique for your flow.
  5. Open your Axiom.ai automation - Head back into Axiom.ai and open the automation you'd like to use to trigger your Power Automate flow from.
  6. Trigger a webhook - Add a "trigger a webhook" step to your automation, using the webhook URL provided by Power Automate. You can also send a payload based on the payload schema set up in Power Automate.
set up trigger a wehook step in Axiom.ai

# Testing your workflow


Now that you've built out your entire workflow, you can test it!

  1. Trigger Axiom.ai automation - Open the Power Automate flow you have created to trigger your automation. Hit "Run".
  2. Open Axiom.ai - Head into your Axiom.ai extension - you may already see that your automation is running. If this has completed, you'll find the run report in the "run reports" section of the dashboard.

If you find that the automation has not run, and is not present in the "run reports", this would mean that the automation has failed to start. Review your Power Automation flow for any error messages that may have been raised.

# Wrapping up


Being able to trigger Axiom.ai automations with Power Automate flows, and being able to trigger Power Automate flows with Axiom.ai automations, offers a huge range of possiblilities for organisations to power up their workflows.

Information valid as of 22nd October 2024..