Partnerstack Event Tracker with Sheets and Telegram Notifications - n8n Workflow

Capture Partnerstack affiliate events using an n8n trigger, automatically log details to Google Sheets, and send instant alerts via Telegram. A powerful n8n workflow for partnership management.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • Affiliate and Partnership Managers seeking real-time tracking.

  • Operations teams requiring automated logging of affiliate activity.

  • Users looking for proven n8n templates for webhook consumption and notifications.

  • Anyone who needs a comprehensive n8n workflow solution for external events.

Overview

Lack of real-time visibility into affiliate performance can slow down response times and reporting accuracy. This automated n8n workflow solves that challenge by providing an immediate, reliable conduit for Partnerstack events.

This setup utilizes a dedicated n8n trigger to catch postback data from Partnerstack. The data is then efficiently processed: first, it is logged into a structured Google Sheet for long-term reporting and audit trails. Second, an immediate, formatted notification is delivered via the Telegram n8n node to designated team channels. This high-utility n8n solution ensures your team is always instantly aware of key events like customer sign-ups or commission updates, making this one of the most practical n8n templates available for affiliate operations.

How it Works

This n8n workflow operates on a simple but powerful linear flow, initiated by an external event.


  1. Webhook Trigger: The process begins when Partnerstack sends a postback payload to the dedicated n8n webhook trigger URL. This n8n trigger listens specifically for POST requests, capturing all the affiliate event data (customer name, email, event type, etc.).

  2. Google Sheets Logging: The captured data immediately moves to the Google Sheets n8n node. This node uses expressions ({{ $json.body.data... }}) to parse the incoming JSON and append a new row to the specified spreadsheet. Key data points like the event date, company, event name, customer name, and email are mapped precisely.

  3. Chat ID Configuration: Next, a dedicated Set n8n node defines the target Telegram chatId. This standardization step ensures the Telegram n8n node always sends the message to the correct destination.

  4. Telegram Notification: The final step involves the Telegram n8n node, which formats a concise notification message. It references data captured by the initial Webhook n8n trigger and uses the configured chatId to instantly deliver the alert about the new Partnerstack event.

Installation Guide


  1. Import the n8n workflow: Copy the provided JSON and import it into your n8n instance.

  2. Webhook Activation: In the 'Webhook' n8n node, save the workflow and activate it. Copy the generated Webhook URL.

  3. Partnerstack Setup: Navigate to Partnerstack > My Account > Postbacks. Create a new postback, paste the copied n8n Webhook URL, select the events you wish to track (e.g., customer.created), and save.

  4. Google Sheets Credentials: Open the 'Append Row in Sheets' n8n node. Configure your Google Sheets credential and select the target spreadsheet and sheet name where the activity log will reside. Ensure the header row matches the mapped columns (date, eventName, tool, customerName, email).

  5. Telegram Configuration: Set up the Telegram credentials. Then, modify the 'Set Chat Id' n8n node by replacing setyourTelgramChatIdHere with your actual target Telegram Group or Channel ID. This is a crucial step for this specific n8n workflow template.

Node Details


  • Webhook (n8n trigger):

- Function: Acts as the primary listener, receiving POST requests (postbacks) from Partnerstack when affiliate events occur.
- Key Configuration: Uses a unique path to ensure secure and dedicated listening for this n8n workflow.

  • Append Row in Sheets (Google Sheets n8n node):

- Function: Logs all relevant event data into a Google Sheet for archival and reporting purposes.
- Key Configuration: Mapped columns include date (using a JavaScript expression to format the created_at timestamp), eventName ({{ $json.body.event }}), tool, customerName, and email.

  • Set Chat Id (Set n8n node):

- Function: Defines a static configuration value (chatId) necessary for the Telegram notification step.
- Key Configuration: Sets the variable chatId to the placeholder, requiring the user to insert their Telegram chat ID for the n8n workflow to function correctly.

  • Send Notification (Telegram n8n node):

- Function: Sends a neatly formatted text notification containing all crucial event details (Event, Tool, Customer, Email) instantly to the designated Telegram chat.
- Key Configuration: Uses expressions to dynamically generate the message text based on the initial input from the Webhook n8n trigger and utilizes the chatId set in the previous n8n node.

Related n8n Workflows

Free

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

Hi, I’m Aitor. At 1Node we help businesses integrate full-scale AI solutions that save time, cut costs, and increase revenue. Guaranteed. Need help implementing AI infrastructures?

Featured*