Animated data flow diagram

Siri-Activated Voice AI Agent with n8n & OpenAI

Version: 1.0.0 | Last Updated: 2025-05-16

Integrates with:

Apple Shortcuts OpenAI Langchain

Overview

Unlock Hands-Free AI Interaction with this AI Agent

This AI Agent, inspired by a template from Max Tkacz (30 Day AI Sprint), transforms how you interact with information and automations by connecting Apple's Siri directly to your powerful n8n workflows and OpenAI. Simply speak your request to Siri (e.g., using a shortcut named 'AI Agent'), and this workflow transcribes it, sends it for intelligent processing, and delivers a voice response back through Siri. It's designed for busy professionals who need quick answers or to trigger actions without touching a keyboard.

Key Features & Benefits

  • Voice-Activated AI Assistant: Use "Hey Siri" followed by your shortcut's name (e.g., "AI Agent") to trigger your custom AI for queries or tasks.
  • Seamless Apple Ecosystem Integration: Works natively with the Shortcuts app on your iPhone, iPad, or Mac.
  • Intelligent Processing with OpenAI: Leverages powerful models like gpt-4o-mini (customizable within the workflow) for smart responses and actions.
  • Context-Aware Responses: Automatically includes the current date and time in prompts for more relevant AI output. You can easily extend this by connecting other n8n nodes to feed more live data (e.g., from your CRM, calendar, or database) into the AI's context.
  • Fully Customizable Persona & Logic: Tailor the AI's system prompt within the n8n AI Agent node to define its role, knowledge, and how it should respond (e.g., 'You are a helpful assistant. Provide concise replies as the user receives them via voice...').
  • Extensible n8n Power: Go beyond simple Q&A. Connect other n8n nodes to trigger complex multi-step automations based on your voice command—like creating tasks, sending emails, or updating records in your business systems.
  • Boost On-the-Go Productivity: Ideal for hands-free information retrieval, initiating tasks, or brainstorming while you're away from your desk.

Use Cases

  • B2B SaaS Founders: Quickly query your internal knowledge base or CRM for client details hands-free during meetings.
  • B2C E-commerce Solopreneurs: Dictate product ideas or marketing copy snippets directly into your notes or task manager via Siri.
  • Heads of Automation: Initiate common administrative tasks (e.g., 'Siri, ask Agent to restart the staging server monitor') through voice commands.
  • CTOs: Get quick status updates from integrated project management tools by asking Siri, powered by your custom AI agent.
  • Solopreneurs: Draft email replies or social media posts by voice, letting the AI refine the text before sending.

Prerequisites

  • An n8n instance (Cloud or self-hosted).
  • OpenAI API Key (the workflow is pre-configured for gpt-4o-mini but adaptable to other models/providers like Groq).
  • An Apple device (iPhone, iPad, or Mac) with the Shortcuts app.
  • The provided Apple Shortcut file to import (or create your own).

Setup Instructions

  1. Download the n8n workflow JSON file.
  2. Import the workflow into your n8n instance.
  3. Configure the OpenAI Chat Model node: Select or add your OpenAI API credential. You can also change the model to another one you have access to (e.g., gpt-4) or adapt the node for a different LLM provider like Groq (requires a free Groq account).
  4. In the When called by Apple Shortcut (Webhook) node, copy the 'Production URL'.
  5. Save and activate the n8n workflow.
  6. On your Apple device, download the Apple Shortcut 'Ask Agent'. This will add it to your Shortcuts app.
  7. Open the Shortcuts app, find the imported 'Ask Agent' shortcut, and edit it. In the 'Get contents of URL' action (or similar, depending on the shortcut structure), replace the placeholder URL with the 'Production URL' you copied from your n8n Webhook node.
  8. (Optional but Recommended) Customize the systemMessage in the AI Agent node within n8n to tailor the AI's persona, instructions, and available context (e.g., how it should behave, specific knowledge it might have access to via further n8n integrations).
  9. Activate the workflow in n8n. Test by saying 'Hey Siri, Ask Agent' (or 'Hey Siri, [Your Shortcut Name]' if you renamed it) followed by your question or command.
  10. For a visual guide on a similar setup, you can watch this setup video.

Tags:

AI AgentVoice AutomationSiriApple ShortcutsOpenAIProductivityHands-FreeLLMLangchain

Want your own unique AI agent?

Talk to us - we know how to build custom AI agents for your specific needs.

Schedule a Consultation