Examples n8n Workflows
This section provides ready-to-use n8n workflows showcasing how to interact with the Unipile API to automate various tasks such as messaging, data retrieval, content posting, and more. These examples are designed to help you quickly integrate Unipile into your automation flows, whether you're a developer, technical user, or exploring advanced use cases. Each workflow is provided as a JSON file that you can import into your n8n instance and adapt to your specific needs. 📌 Note: Be sure to replace placeholder values like X-API-KEY, account_id, etc., with your actual credentials, and secure your webhooks as needed.
Examples on this page
🧩 Comment a LinkedIn post

In this workflow example, we will consider you already got the post_id :
- From the url of the post as explained on this page
- From the List all posts endpoint
- From the List all comments endpoint of a user
- From the List all reactions endpoint of a user
- etc.
- In the empty workflow, click on “Add first step”
- Search for and select the "HTTP Request" node
-
Method -> GET
-
URL -> https://YOUR_DSN.unipile.com:{port}/api/v1/posts/POST_ID Add your DSN and post_id in url_ (manually or from your previous node)_
-
- Clic on "+" connector then add a new "HTTP Request" node
-
Method POST
-
URL -> https://YOUR_DSN/api/v1/posts/SOCIAL_ID/comments Add your DSN and social_id you have in input as an expression
-
- You can download this workflow here
🧩 Receive a Whatsapp message via webhook -> generate ai answer -> send reply

-
Create a webhook as shown in this page Create n8n Webhook
-
Clic on "+" connector then search for your LLM node
-
Connect an "HTTP Request" node
-
Integer in URL as an expression the chat_id received by the webhook
-
Add account_id and text parameters as below. Value of text need to be an expression to get message content from LLM Node
-
-
You can download this workflow here
Updated about 14 hours ago