Automation

Get a weekly sales report by email every Monday, automatically

Stop spending Monday morning clicking through dashboards. With n8n and iBuat.Link, your top links, their clicks and last week’s WhatsApp closings arrive in your inbox at 07:00.

iLiBuat.Link Team7 min read

Key takeaways

  • Every Monday at 07:00, an n8n workflow emails you your five most-clicked links, their clicks in the last 7 days, and last week’s closings with their total value.
  • It only reads data, so a Read only API key is enough. No webhook is needed.
  • You need iBuat.Link Pro or higher, n8n (Cloud or self-hosted) and a Gmail account connected in n8n.
  • The template is a starting point: change the day, add QR codes, send it to Telegram, or let an AI node write a friendlier summary.
On this page6
  1. 1. What the automation does
  2. 2. What you need
  3. 3. Set it up step by step
  4. 4. What the email looks like
  5. 5. Make it yours
  6. 6. Honest limits

Every Monday, Bu Sari sits down with her coffee and tries to answer three questions about her hijab shop: which links brought people in last week, how many chats turned into sales, and how much money that was. The answers are all in her iBuat.Link dashboard, spread across Links, Analytics and her Sales Team. By the time she has opened every page and written the numbers down, it’s nearly ten.

The numbers don’t change while she clicks around. So the clicking can be done by someone else: a small n8n workflow that collects the same numbers and emails them to her before she wakes up.

What the automation does

Think of n8n as a robot assistant that follows rules: when something happens, then do this. In this workflow, the “when” is simply the clock. Every Monday at 07:00 the robot walks into iBuat.Link’s office (the API), picks up last week’s numbers and writes you an email.

Here is exactly what the template collects:

  • Your five most-clicked links, each with its clicks in the last 7 days and its total clicks since you created it.
  • Closings from the last 7 days (Monday to Sunday when it runs on a Monday): how many sales were recorded and their total value, per currency.

The workflow then turns those numbers into a short plain-text email and sends it from your own Gmail account.

Email

Your iBuat.Link week

1/spring-dress — 412 clicks
2/linen-scarf — 268 clicks
3/catalog — 155 clicks

Sales Router: 9 closings, $2,450

The Monday email: top links with this week’s clicks, plus last week’s closings.

What you need

WhatWhy
iBuat.Link Pro or higherThe API is part of Pro, Business and Agency.
n8nn8n Cloud (paid) or self-hosted n8n (free, but you need a server). Any version with the Schedule, HTTP Request, Code and Gmail nodes works.
A Read only API keyThe workflow only reads your links and closings. It never changes anything.
A Gmail accountConnected inside n8n, so the email comes from you.

Set it up step by step

  1. 1

    Create an API key

    In the iBuat.Link sidebar, open Developer and create a key with the permission “Read only”. You’ll be asked for your account password. Copy the key somewhere safe for the next few minutes.

  2. 2

    Download the template

    Open Integrations, find the “Automate with n8n” card and click “Download template” next to “Monday report by email”. You get the file 03-weekly-report.json.

  3. 3

    Import it into n8n

    In n8n, open a new workflow, click the “…” menu and choose “Import from File”. Pick the file. A yellow “Setup (read me)” note in the workflow repeats these steps in English and Indonesian.

  4. 4

    Add your API key to n8n

    Create a Header Auth credential called “iBuat.Link API key”. Name: Authorization. Value: the word Bearer, a space, then your key. The three HTTP Request nodes (“Top 5 links”, “Last 7 days per link”, “Closings last week”) already point at this credential name.

  5. 5

    Set your email address

    Open the Gmail node “Email me the report”, connect your Gmail account and replace [email protected] with your own address.

  6. 6

    Run it once, then switch it on

    Run the workflow by hand in n8n and check your inbox. If the email looks right, activate the workflow. From then on it runs every Monday at 07:00.

The step-by-step n8n guide shows the API key and credential screens in more detail.

What the email looks like

The subject is “Your iBuat.Link week”. For Bu Sari, an ordinary Monday email could read like this (the numbers are made up for the example):

  • /promo-ramadan: 412 clicks this week (3,980 in total)
  • /katalog: 268 clicks this week (5,120 in total)
  • /wa-cs: 190 clicks this week (2,440 in total)
  • /hijab-segi-empat: 77 clicks this week (1,310 in total)
  • /review-ig: 12 clicks this week (960 in total)
  • Sales Router: 18 closing(s), 4,350,000 IDR.

Short and boring on purpose. You read it in thirty seconds and you know whether last week was good.

What to do with it

One email is a snapshot. Four in a row tell a story. If /promo-ramadan keeps getting clicks but closings stay flat, the problem is probably on the page or in the chat, not in the promotion. If a link that used to be in the top five drops out, check that its destination still works, or let n8n switch a broken link to a backup page. And when closings jump in a week you posted on TikTok, you know where to spend next week’s effort. For a closer look per ad, see which ads actually sell on WhatsApp.

Make it yours

Another day or time

Open “Every Monday at 07:00” and pick a different day or hour. Friday afternoon works well if you like to plan the weekend’s posts.

More links, or QR codes

“Top 5 links” asks for 5 links. Change the limit to 10 for a longer list. You can copy the same steps for your QR codes, which the API can also sort by clicks.

Telegram instead of email

Swap the Gmail node for a Telegram node and send the same text to yourself or your team group.

An AI-written summary

Put an OpenAI or Gemini node between “Write the report” and the email, and ask it to explain the numbers in two friendly sentences. You need your own account with that AI provider.

Your own words

The email text is written in the Code node “Write the report”. Change the wording, translate it into Indonesian, or add a line per team.

More readers

Add your business partner’s address in the Gmail node so you both start the week with the same numbers.

Honest limits

  • The top five are ranked by total clicks, not by last week’s clicks. A brand-new link that did well this week may not appear until it catches up. Increase the limit if that matters to you.
  • Only short links are counted in the template. QR scans are left out unless you add the QR code steps yourself.
  • Closings only show up if they were recorded. iBuat.Link never reads WhatsApp chats. A sale counts when you or an agent marks it as a sale, or when your payment system records it with the Ref code. Here’s how closings get recorded.
  • 07:00 means n8n’s time zone. If your email arrives at a strange hour, check the time zone in the workflow settings in n8n.
  • n8n is a separate tool. n8n Cloud is paid; self-hosting is free but needs a server you look after.

This is one of eight ready-made automations. The overview of all eight explains how webhooks and the API fit together, and which scenario to start with.

Frequently asked questions

Does this workflow change anything in my account?+

No. It only reads your links and closings, which is why a Read only API key is enough. Even if the key leaked, nobody could edit or delete links with it.

Why are my closings always zero?+

The report counts closings that were recorded in iBuat.Link during the last 7 days. If your team doesn’t click Mark sale or record sales through the API, there is nothing to count. Clicks and chats are not sales on their own.

Can I get the report every day instead?+

Yes. Change the schedule node to run daily. The links still show their last 7 days, so you may want to change the “Last 7 days per link” range and the closings dates to match.

Can I use Make or Zapier instead of n8n?+

They can call the same API, but the ready-made template is for n8n. In Make or Zapier you would rebuild the steps yourself.

Let Monday’s numbers come to you

Webhooks and the API are included in Pro and higher. Import the template, paste a Read only key, and your first report arrives next Monday.

Share