Emelia Marketing Automation Agent Tool Server - n8n Workflow

Use this powerful n8n workflow as an AI tool server to manage Emelia campaigns and contact lists using natural language prompts via a specialized n8n trigger node.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

AI developers and engineers building LLM-powered agents.
Marketing operations teams looking to automate campaign management using natural language.
Users seeking advanced implementation of the n8n trigger and tool capabilities.
Automation specialists utilizing n8n templates for complex AI integration.

Overview

This specialized n8n workflow is designed to function as a powerful tool server for external AI agents (like those built with LangChain or similar frameworks). By utilizing the Multi-Chain Prompt (MCP) n8n trigger, this entire n8n workflow exposes nine critical Emelia API operations as callable functions. Instead of configuring complex API calls within the AI model's prompt, the AI agent simply sends a structured request to the centralized n8n trigger endpoint, and the n8n node executes the precise operation—whether it’s pausing a large campaign or adding a contact list. This n8n template provides a robust and scalable method for integrating complex marketing operations with cutting-edge AI orchestration.

How it Works

The process is initiated by the custom Emelia Tool MCP Server n8n trigger node. This specialized n8n node is configured to listen for tool-call requests originating from an external AI Agent. When a user instructs the AI Agent to perform a task (e.g., 'Start Campaign XYZ'), the AI determines the necessary tool function and sends a request to the n8n trigger containing the function name (e.g., 'Start a campaign') and required parameters.

Upon receiving the request, the n8n workflow instantly routes the incoming payload to the corresponding specialized Emelia n8n node (like 'Start a campaign' or 'Add a contact list'). Each of these operational n8n node instances is pre-configured to handle a specific Emelia API action.

After the selected n8n node successfully executes the marketing operation (e.g., communicating with Emelia), the result or confirmation is passed directly back through the initial n8n trigger connection, ensuring seamless, real-time feedback to the requesting AI Agent. This architecture leverages the power of n8n to centralize and manage complex tooling for AI systems, providing a highly effective n8n workflow solution.

Installation Guide


  1. Import the n8n Workflow: Copy the provided JSON data and paste it into your n8n instance using the 'New' -> 'Import from JSON' option.

  2. Configure Credentials: The nine Emelia Tool n8n node instances require valid Emelia credentials. Ensure you set up the appropriate Emelia API key connection within your n8n installation.

  3. Activate the n8n Trigger: The workflow uses a specialized MCP n8n trigger. Once activated, n8n will provide a specific webhook URL. This URL is the endpoint that your external AI Agent must be configured to call when it needs to use these Emelia tools.

  4. Deployment: Ensure the n8n workflow is activated so the n8n trigger can listen for incoming requests from your AI Agent.

Node Details

Emelia Tool MCP Server (n8n Trigger):
Function: This is the primary n8n trigger node. It acts as the centralized entry point and exit point for the AI tool server. It listens for function calls from an external AI agent and relays the results back.
Key Configuration: Uses the specialized LangChain mcpTrigger type, making this n8n node ideal for tool routing.
Add a contact to a campaign (Emelia Tool n8n node):
Function: Allows the AI Agent to add a specific contact to an existing Emelia campaign.
Create a campaign (Emelia Tool n8n node):
Function: Enables the creation of new email marketing campaigns in Emelia via an AI instruction.
Duplicate a campaign (Emelia Tool n8n node):
Function: Used to clone an existing campaign structure.
Get a campaign / Get many campaigns (Emelia Tool n8n nodes):
Function: Tools for retrieving detailed information about a single campaign or listing multiple campaigns, providing necessary state information back to the AI.
Pause a campaign / Start a campaign (Emelia Tool n8n nodes):
Function: Allows the AI Agent to dynamically control the execution status of an active campaign.
Add a contact list / Get many contact lists (Emelia Tool n8n nodes):
* Function: Tools dedicated to managing and querying contact segmentation lists within Emelia.

Related n8n Workflows

Paid

Nodes: 3 Nodes
Updated: December 26 2025
View all
Created by

A hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord

Featured*