Setting up n8n: Connect and add workflows
You can connect n8n to Juma and run automated workflows directly from your chats. This lets you automate tasks like summarizing Slack messages, pulling data from tools, or triggering multi-step processes without leaving Juma.
How to connect n8n to a Project
n8n integration happens at the Project level. To get started:
- Create a new Project (or open an existing one)
- Click on Knowledge in the sidebar
- Scroll down to Automations
- Expand the n8n section
- Click Connect
You'll need to provide two things:
Base URL: The URL of your n8n instance
API key: Your n8n API key
How to generate an n8n API key
To create an API key in n8n:
- Go to your n8n settings
- Navigate to API
- Click Create an API key
- Give it a name (for example, "Juma")
- Set it to No expiration so you don't need to reset it every time it expires
- Click Copy
Now paste your n8n instance URL and API key into Juma and click Save.
If you've successfully connected, the button will change to Add.
Adding workflows to your Project
Once you're connected, click Add to see all your n8n workflows. You can select any workflow to attach it to this Project.
When you attach a workflow, it becomes available to use in any chat inside that Project.
Using n8n workflows in chats
Once you've added a workflow to your Project, you can trigger it directly from a chat. The AI understands when it needs to call the workflow, executes it, sends the necessary parameters, and returns the output back to the chat.
For example, if you've connected a workflow that summarizes Slack messages, you might say: "Can you summarize the QA channel, the last 10 messages?"
Behind the scenes, the AI will call the workflow, pass the parameters (the channel name and number of messages), and return the summary in the chat.
What you can automate
With n8n, you can automate thousands of workflows. Some examples for marketing teams:
- Summarize Slack or Teams channels
- Pull data from CRMs like HubSpot or Salesforce
- Generate reports from analytics platforms
- Post content to social media
- Create tasks in project management tools
- Send notifications or updates to your team
The possibilities depend on what workflows you build in n8n. Once they're connected to Juma, you can trigger them naturally through conversation.