> For the complete documentation index, see [llms.txt](https://docs.infraon.io/infraon-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infraon.io/infraon-help/infinity-user-guide/marketplace/api-automation.md).

# API Automation

The **Infraon API Automation app** allows you to integrate and trigger third-party APIs directly from the **Workflow Automation** module. Once installed, the app provides a central point for managing API-based workflow actions, supporting authentication types such as API Key, Token, and Username–Password.

All API actions triggered from workflows are executed through this app, ensuring a consistent and controlled automation experience.

## **Workflow Automation**

After installation, the **App Integration** card appears as an action block inside workflow configurations.This allows you to integrate external APIs into workflow steps.

### **Authentication Types**

You can select and configure APIs using:

* **API Key-based authentication**
* **Token-based authentication**
* **Username–Password authentication**

### **Configurable Inputs**

For each selected API, you can:

* Enter authentication credentials
* Add custom parameters
* Configure request headers
* Map API inputs to workflow data if required

Once configured, the workflow will trigger the API through the API Automation app when executed.

### **API Response Handling**

<table><thead><tr><th width="229.99993896484375">Category</th><th>Details</th></tr></thead><tbody><tr><td><strong>JSON Responses</strong></td><td><ul><li>If the API returns <strong>application/json,</strong> the system automatically parses the response into JSON for further use.</li></ul></td></tr><tr><td><strong>Other Content Types</strong></td><td><ul><li>For responses such as **text/plain, text/xml,**or other types, the system does <strong>not</strong> attempt JSON parsing.</li><li>The response is processed in its <strong>native format.</strong></li></ul></td></tr><tr><td><strong>Invalid JSON Handling</strong></td><td><ul><li>If an API claims to return JSON but the payload is <strong>invalid,</strong> the system stops parsing and shows a <strong>clear error message</strong> to the user.</li></ul></td></tr></tbody></table>

## **Installation Steps**

**Step 1:** Go to the Marketplace tab on the left navigation panel to begin the integration. Click on the **Infraon API Automation**card from the available integrations to open the plugin details page.

![](/files/6416c2b6919ea688d816dc79b482717b6d1fd385)

**Step 2:** On the plugin page, click the **Install** button to add the API integration to your Infraon environment.

![](/files/e93f25ea3f5ddc91d8eec412b93a1d19fb81532f)

Once installed, the configuration page will become available for setup.

**Step 3:** After installation, you must configure APIs within the workflow module. Navigate to the Workflow → [App Integration ](/infraon-help/infinity-user-guide/infraon-configuration/infraon-automation/workflow/configurations.md#app-integration)section.

**Step 4:** Configure your API workflows:

* Select the App Integration card in a workflow.
* Choose your authentication method (API Key / Token / Username-Password).
* Enter credentials and any custom parameters.
* Save the configuration and trigger the workflow to execute the API.

To uninstall: return to the Marketplace, open the Infraon API Automation card, and click **Uninstall**. The workflow card and API actions tied to this app will be removed and disabled.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.infraon.io/infraon-help/infinity-user-guide/marketplace/api-automation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
