> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobilerun.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# n8n

> Connect n8n workflows to Mobilerun phone events and APIs using webhooks and HTTP requests.

n8n is a workflow automation tool. Use a webhook to receive Mobilerun events and an HTTP Request node to call the Mobilerun API; this is a generic HTTP integration, not a dedicated n8n node.

## Setup

1. [Set up a phone](https://docs.mobilerun.ai/devices.md) and create a Mobilerun [API key](https://docs.mobilerun.ai/api-keys.md).

2. In n8n, create a workflow with an HTTP Request node. Set the method and URL to:

   ```text HTTP Request node theme={null}
   GET https://api.mobilerun.ai/v1/devices
   ```

3. Configure bearer authentication on the node using your Mobilerun API key in n8n credentials. Execute the node to list devices. To receive events, add a Webhook trigger and register its production URL as described in [Webhooks](https://docs.mobilerun.ai/webhooks.md).

## First task

Execute the HTTP Request node above to list your Mobilerun devices. See [Webhooks](https://docs.mobilerun.ai/webhooks.md) for event types and signature verification.

See the [n8n HTTP Request documentation](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.