# Azure/ Web API/Logic Apps

{% hint style="success" %}
The Alemba API supports:

* Attachments in Base64 Format to simplify the process and support via Logic Apps.
* Returning the HTML versions of the Abstract, Solution or Additional Information fields from Knowledge Articles.
* Custom Fields/Extension Fields
  {% endhint %}

This article may prove helpful when setting up a client to use email

{% embed url="<https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-configure-app-access-web-apis>" %}

## Overview

Integrating Alemba Service Manager (ASM) with Azure Logic Apps enables automated workflows that can enhance service management and operational efficiency. Below is a concise guide on understanding Logic Apps, setting them up with ASM, and the prerequisites involved.

#### Prerequisites:

1. **Azure Subscription**: Ensures access to Azure Logic Apps.
2. **Alemba Service Manager (ASM) Account**: Required for integration.
3. **API Credentials**: Necessary for authenticating the connection between Logic Apps and ASM.

#### Important Terms:

* **Logic Apps**: A cloud service that helps you automate and orchestrate tasks, workflows, and business processes.
* **Triggers**: Conditions that automatically start a Logic App workflow.
* **Actions**: The steps performed by the Logic App once triggered.
* **Connectors**: Pre-built APIs within Logic Apps that allow interaction with external services, like ASM.

#### High-Level Steps Summary:

1. **Plan Your Workflow**: Identify the processes you intend to automate with ASM.
2. **Create a Logic App**: Initialize a new Logic App in Azure.
3. **Set up a Trigger**: Determine what event will initiate your Logic App workflow.
4. **Add Actions**: Define the operations to be carried out by your Logic App, using ASM as a connector.
5. **Test and Monitor**: Run your Logic App to ensure it works as expected and monitor its performance.

## Detailed Steps for Setting Up a Logic App with ASM Integration

Follow these steps to integrate Alemba Service Manager (ASM) with Azure Logic Apps effectively:

**1. Create a New Logic App**

* Navigate to the Azure Portal.
* Click on "Create a resource" and select "Logic App".
* Choose the appropriate subscription, resource group, and region.
* Name your Logic App and then click "Create".

**2. Plan Your Workflow**

* Identify which tasks or processes you want to automate by integrating ASM.
* Break down these tasks into triggers and actions for clarity.

**3. Setting Up a Trigger**

* Once your Logic App is created, in the Logic App Designer, under the templates, select "Blank Logic App".
* Search for the trigger that suits your workflow. If connecting to ASM for the first trigger, search for the ASM connector or the specific trigger if available.
* Provide the necessary API credentials and parameters as required to set up the trigger.

**4. Add Actions with ASM Connector**

* After setting up your trigger, click "New step".
* Search for "Alemba Service Manager" in the connectors and choose an action.
* You may need to sign in with your ASM account if prompted.
* Configure the action according to the specifics of your workflow. This might involve specifying certain data or criteria related to ASM.

**5. Test and Monitor Your Logic App**

* Save your Logic App and perform a test run by triggering the event you configured in Step 3.
* Check the run history to see if the Logic App executed as expected.
* Utilize the monitoring tools available in Azure to keep an eye on the performance and reliability of your Logic App.

## Azure Logic Apps with ASM - Overview

{% embed url="<https://vimeo.com/639510213>" %}
