Description
@ac-codeprod/n8n-nodes-alexa-remote




This is an n8n community node package that lets you interact with the Amazon Alexa API in your n8n workflows. It provides two nodes:
- Alexa Remote — action node to control devices, execute routines, manage lists, notifications, and more.
- Alexa Remote Trigger — trigger node that starts a workflow when an Alexa WebSocket push event occurs.
- Installation
- Nodes
- Operations
- Trigger Events
- Credentials
- Compatibility
- Usage
- Troubleshooting
- Resources
Alexa Remote provides programmatic access to control Echo devices, execute routines, manage smart home devices, and more — all without saying “Alexa”!
n8n is a fair-code licensed workflow automation platform.
Table of Contents
Installation
Follow the installation guide in the n8n community nodes documentation.
Quick Installation
npm install @ac-codeprod/n8n-nodes-alexa-remote
Nodes
Alexa Remote
An action node to interact with the Alexa API. Supports 10 resources and can also be used as an AI tool.
Alexa Remote Trigger
A trigger node that listens for real-time Alexa WebSocket push events and starts your workflow when they occur.
Operations
Account
Auth
http://[Proxy IP]:[Proxy Port] when the workflow is running. A Login Timeout (Minutes) parameter controls how long to wait (default: 5 min).Bluetooth ⚠️ Untested
> Warning: Bluetooth operations have not been tested yet. They are available in the code but their behavior is not guaranteed.
Conversation
Device (Echo)
play, pause, next, previous, forward, rewind, repeat, shuffleInteraction
amzn1.ask.1p.sound/nature/crickets_01)List
Notification
Routine
Smarthome
Trigger Events
The Alexa Remote Trigger node listens for the following WebSocket push events:
| Event | Description |
|—|—|
| All Messages | Fires on every WebSocket event received from Alexa |
| All Unknown Messages | Fires on every unrecognized WebSocket message |
| Audio Player State Change | Fires when media playback state changes on an Echo device |
| Bluetooth State Change | Fires when a Bluetooth connection state changes |
| Device Activity | Fires when an Echo device registers an activity (voice command, etc.) |
| Device Connection Change | Fires when an Echo device goes online or offline |
| Media Change | Fires when the currently playing media changes |
| Notification Change | Fires when an Alexa notification (alarm, reminder) changes |
| Todo / List Change | Fires when an Alexa shopping or to-do list changes |
| Volume Change | Fires when the volume of an Echo device changes |
Each trigger emits a JSON payload with event, payload, and timestamp fields.
Credentials
To use this node, you need to configure Alexa Remote API credentials.
Prerequisites
1. An Amazon account with Alexa devices registered
2. Access to your n8n server’s IP address (for proxy authentication)
Setup
1. In n8n, create new “Alexa Remote API” credentials
2. Configure the following:
– Proxy IP: Your n8n server’s IP address (e.g., 192.168.1.100)
– Proxy Port: Port for authentication (default: 3456)
– Cookie File Path: Path to save authentication cookie (defaults to $N8NUSERFOLDER/.alexa-cookie.json)
– Amazon Service Host: Select your region (e.g., pitangui.amazon.com for USA)
– Amazon Page: Select your Amazon domain (e.g., amazon.com)
– Language: Select your language (e.g., en-US)
3. Save credentials and add an Alexa Remote node with Resource: Auth, Operation: Authenticate
4. Run the workflow — the proxy will start and display a login URL in the logs
5. Open the URL in your browser and log in with your Amazon account
6. Once login is complete, the cookie is saved and credentials are ready
All Credential Fields
| Field | Description | Default |
|—|—|—|
| Proxy IP | IP of your n8n server | localhost |
| Proxy Port | Proxy port | 3456 |
| Cookie File Path | Path to save/read the cookie JSON file | $N8NUSERFOLDER/.alexa-cookie.json |
| Amazon Service Host | Alexa service endpoint for your region | pitangui.amazon.com |
| Amazon Page | Amazon domain for your region | amazon.com |
| Language | Accept-Language header value | en-US |
Supported Regions
| Region | Amazon Service Host | Amazon Page |
|—|—|—|
| USA | pitangui.amazon.com | amazon.com |
| UK | alexa.amazon.co.uk | amazon.co.uk |
| Germany | layla.amazon.de | amazon.de |
| France | layla.amazon.de | amazon.fr |
| Italy | alexa.amazon.it | amazon.it |
| Spain | alexa.amazon.es | amazon.es |
| Australia | alexa.amazon.com.au | amazon.com.au |
| Brazil | alexa.amazon.com.br | amazon.com.br |
Compatibility
Usage
Example 1: First-time Authentication
1. Add an Alexa Remote node
2. Select Resource: Auth, Operation: Authenticate
3. Set Login Timeout (minutes) — default is 5
4. Run the workflow and open the URL shown in the logs
5. Log in with your Amazon account
6. The cookie is saved — you won’t need to redo this unless the session expires
Example 2: Make Alexa Speak
1. Add an Alexa Remote node
2. Select Resource: Interaction, Operation: Speak
3. Select your device from the dropdown
4. Enter text: Hello from n8n!
5. Execute the workflow
Example 3: Speak on Multiple Devices Simultaneously
1. Add an Alexa Remote node
2. Select Resource: Interaction, Operation: Speak All (Multi-Device)
3. Select multiple devices from the dropdown
4. Enter text and speak type
5. Execute
Example 4: Play Music
1. Add an Alexa Remote node
2. Select Resource: Interaction, Operation: Play Music
3. Select your device
4. Select Music Provider: Amazon Music
5. Enter Search Query: relaxing jazz
6. Execute
Example 5: Control a Smart Home Device
1. Add an Alexa Remote node
2. Select Resource: Smarthome, Operation: Control Device
3. Select the entity from the dropdown (e.g., Living Room Lights)
4. Select Action: Set Brightness
5. Enter Value: 75
6. Execute
Example 6: Create a Reminder
1. Add an Alexa Remote node
2. Select Resource: Notification, Operation: Create Notification
3. Select your device
4. Select Type: Reminder
5. Enter Label: Take out trash
6. Enter Time: 2026-03-20T18:00:00.000 (ISO 8601 format)
7. Execute
Example 7: Trigger on Device Activity
1. Add an Alexa Remote Trigger node
2. Select Event: Device Activity
3. Activate the workflow
4. Every time a voice command is registered on any Echo device, the workflow runs
Example 8: Execute an Existing Routine
1. Add an Alexa Remote node
2. Select Resource: Routine, Operation: Execute Routine
3. Select your routine from the dropdown
4. Execute
Troubleshooting
Authentication Issues
Auth → Authenticate operation first to complete Amazon loginAuth → Authenticatehttp://[Proxy IP]:[Proxy Port]/alexa.amazon.com/about: If your browser lands on this URL instead of the login page, simply remove the /alexa.amazon.com/about path from the URL. Navigate directly to http://[Proxy IP]:[Proxy Port] to reach the login interface.Device Not Found
Auth → Authenticate firstDevice → Get Devices operationCommands Don’t Work
next, previous) require the device to be actively playing mediaTrigger Not Firing
All Messages event can be used to debug — it fires on every incoming eventResources
Credits
This project is inspired by the excellent node-red-contrib-alexa-remote2-applestrudel project by bbindreiter, which uses the alexa-remote2 library.
License
Author
Developed with ❤️ by AC-CodeProd