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 :


  1. In the empty workflow, click on “Add first step”
  2. Search for and select the "HTTP Request" node
    1. Method -> GET

    2. 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)_

  3. Clic on "+" connector then add a new "HTTP Request" node
    1. Method POST

    2. URL -> https://YOUR_DSN/api/v1/posts/SOCIAL_ID/comments Add your DSN and social_id you have in input as an expression

  4. You can download this workflow here









🧩 Receive a Whatsapp message via webhook -> generate ai answer -> send reply


  1. Create a webhook as shown in this page Create n8n Webhook

  2. Clic on "+" connector then search for your LLM node

  3. Connect an "HTTP Request" node

    1. Integer in URL as an expression the chat_id received by the webhook

    2. Add account_id and text parameters as below. Value of text need to be an expression to get message content from LLM Node

  4. You can download this workflow here



What’s Next