---
app: agent
audience:
  - owner
since: 0.1.29
ui_only: false
agent_actions:
  - tool: app_preset_plan
    permission: auto
    example: what would the affiliate template give me?
  - tool: affiliate_content
    permission: auto
    example: "(the studio admin) record that my video is posted:
      https://vt.tiktok.com/…"
  - tool: affiliate_report
    permission: auto
    example: (the commission analyst) sync Shopee results now
agent_examples:
  - set up my office as an affiliate studio
  - what are today's content packets?
  - which samples must be posted this week?
llm_weight: normal
title: Affiliate studio template
description: Run your affiliate work with a studio of agents — they research
  products, write a new script for every account, keep sample deadlines and
  match commission to the content that earned it, while you and your hosts
  record, post and decide.
editUrl: true
head: []
template: doc
sidebar:
  order: 6
  hidden: false
  attrs: {}
pagefind: true
draft: false
---

import { Steps, Aside } from "@astrojs/starlight/components";
import { AgentAsk } from "@components";

**Who this is for:** an affiliator — on your own or with a team of hosts — who promotes other brands' products on TikTok Shop, Shopee and social media for a commission, and wants a back office of agents while the faces, voices, accounts and money stay with people.

## How it works

The studio works one loop a day:

| Step | Who | What happens |
|---|---|---|
| Research | Product Scout | 5–10 products worth promoting for your niches — commission, sales, rating, season — saved as **affiliate listings** with the claims copied from the product page. |
| Packet | Script Writer | For each product and account: three hooks, a 30–60 second script, a shot list, a caption with your disclosure line and a tracked link. **A new script for every account.** |
| Record & post | You / your hosts | From the phone, as always. The agents never post. |
| Posted | Studio Admin | A host sends "posted" and the link on WhatsApp; the content is recorded under that host. |
| Results | Commission Analyst | Shopee results arrive through the Open API (when the account has access) or the export files you send; each order is matched to the content that earned it. |
| Books | Commission Analyst → you | Once a month: draft commission invoices from the platform statement, shared among hosts, plus the recap of tax the platforms withheld. |

In Bakulai each product is an **Item** in the group *Affiliate Products*, each content piece a **Task** with its stage (Idea → Script → Ready to Record → Posted → Measured), and each host a **Sales Person** with their share.

<Aside type="caution">
Bakulai never drives TikTok's or Shopee's affiliate websites with a robot — both platforms forbid it, and it is your income at stake. Data comes from Shopee's official Open API or from export files a person downloads (Shopee *Manajemen Ekspor*, TikTok *Kompas Data* / *Pesanan Afiliasi*).
</Aside>

## Steps

<Steps>

1. In Bakulai (ERP), choose the business type **Affiliate & Content Creator**. It creates the *Affiliate Products* group, the *Hosts* group, the platform customers and the commission accounts.

2. In Bakulai Agent, open **Settings → Office → Set up from a template…** and pick **Affiliate creator**. On Pro you get the Product Scout, the Script Writer, the Commission Analyst, the Studio Admin (holds the studio's WhatsApp) and the comment agent; on Max a LIVE producer, a bookkeeper and a designer join.

3. Add the owner and your hosts under **Settings → Owner & staff** and verify their WhatsApp numbers — the studio recognises who posted from the number.

4. Open **Settings → Affiliate studio**: add every platform account (a short code — it cannot change later, because content and invoices carry it — the handle, who owns it, the tax the platform withholds), mark who is a **host** and their share, and set your niches, minimum commission, disclosure line and forbidden claims.

5. Optional, per Shopee account: paste the **App ID and Secret** from the Open API page of the Shopee affiliate portal. Without them, download the report (Shopee: *Laporan Konversi → Ekspor*; TikTok: *Pesanan Afiliasi* or *Kompas Data*) and send the file to the studio's WhatsApp. The studio admin reads the columns itself — no fixed format is needed — and Bakulai computes the numbers. The file's numbers **replace** each video's totals, so export everything since your oldest active video was posted (Shopee keeps three months).

</Steps>

## What stays your decision

- Which products the studio promotes, which samples to accept, and every brand deal and price.
- Posting — hosts record and post from their phones; agents only prepare.
- The books: commission invoices and payouts are drafts in the **Review** tab until you approve them. An account owned by a host is only tracked, never booked as your income.

## Ask your agent

<AgentAsk />

## Limits & safety

- **One script per account.** Platforms treat similar videos across accounts as low-quality content, so the studio refuses to reuse a script on another account.
- **Claims only from the product page**, a disclosure line in every caption, and `[isi pengalamanmu]` where the host tells their own experience — never an invented testimonial. No AI voice or avatar.
- **TikTok Shop samples** must be posted within 14 days of receipt; the studio reminds you every morning.
- **Upload reminder:** every day around 13:00 (shifted a few minutes per agent's seat), if an account without the Open API posted in the last 30 days but its results are 3 or more days old, you get one reminder on your desktop and your chat channel.
- Send the **full video link** when you post. TikTok's short share links are followed to the video, but a link without the video ID cannot be matched to TikTok's result files.
- Numbers read from a screenshot stay estimates; validated commission comes only from the API or an export file.
- No cold messages to brands or creators — only people who contacted you first, and the platforms' own features.