The AgentivUse cases

Stop blasting every LINE friend the same promo

A marketing agent for a LINE Official Account that builds audiences from the shop's own customer list in Google Sheets, drafts one promotion per segment, sends it as a narrowcast through the Messaging API only to that audience or a demographic filter (age, gender, region in Thailand, how long they have been a friend), stays inside the month's message quota, and reports delivery, with the owner approving every send

Function: MarketingEffort: About a weekPublished: 2026-10-25Market: Thailand

The problem

Most shops broadcast one message to every LINE friend, burn the month's message quota by mid month, annoy the people the offer was never for until they block the account, and give the customers who would actually buy a generic line that does not speak to them. The Messaging API has had targeted sending for years; nobody in the shop has time to set it up.

How the agent works

  1. It starts

    Each campaign starts from the shop's customer sheet (Google Sheets or an export from the POS), where customers who added the LINE OA have their LINE user ID recorded from chats or orders.

  2. The agent works

    The agent, running in Claude Code against the LINE Messaging API, proposes segments the owner recognises (bought the seasonal item last year, no order in 90 days, Bangkok area) and creates an audience for each by uploading the user IDs, up to 10,000 per request; an audience needs at least 50 recipients or the send fails. It drafts one short message per segment in the shop's voice, shows the owner the audience size, the text and the remaining monthly message quota, and only after a yes sends a narrowcast to that audience, optionally combined with LINE's own demographic filter (age bands, gender, region in Thailand, friendship period from 7 to 365 days) and a limit so the send stays within the remaining quota. It then polls the narrowcast progress until succeeded or failed and logs the result in the sheet. Click based audiences can be built from who tapped a link in a message sent within the last 60 days, so the next campaign goes only to people who showed interest.

  3. The result

    Every send needs the owner's approval, and the agent never broadcasts to all friends.

Worked example

LINE's Messaging API spec defines the pieces: a narrowcast request takes a recipient (an uploaded audience, with and, or and not operators to combine several), a demographic filter (gender, age bands from 15 to 70 in five year steps, iOS or Android, area codes th_01 to th_08 for Thailand, friendship period of 7, 30, 90, 180 or 365 days) and a limit object whose upToRemainingQuota flag stops the send at the monthly allowance; progress phases are waiting, sending, succeeded and failed, and error code 4 means an audience of fewer than 50 recipients was used. Audiences are built by uploading up to 10,000 user IDs per request or 1,500,000 by file, or from clicks or impressions on a message sent in the past 60 days. LINE's open source MCP server covers push and broadcast and reports the monthly message quota but has no narrowcast tool, so the agent calls that endpoint through the SDK. No open rates or sales figures are published in these sources, so measure your own: clicks per segment against the old all friends broadcast.

Data protection. This use case touches personal data, so check the rules where you operate (for example GDPR, PDPA). LINE user IDs tied to purchase history are personal data under Thailand's PDPA, and a promotion is direct marketing. Collect consent for marketing messages when the customer adds the OA or places an order and record it in the sheet, honour blocks and opt outs, limit who can open the customer sheet, and delete audiences you no longer use from LINE.

Join the Agent OS Club

8 weeks to the AI team a 50 person company would hire. Instant access to our agent blueprints. USD 15 a month, cancel any time.

Join the Agent OS Club

Building this for an organization? Learn more at theagentiv.com

Sources

Related use cases

Show up when customers ask ChatGPT

A marketing agent that crawls your own website the way Google and AI assistants do, asks the assistants your customers' questions to see whether you come up, scores the gaps by impact and effort, and writes the fixes (robots.txt, llms.txt, schema, titles, product copy) for the owner to approve before anything is published

MarketingEffort: An afternoonClaude Cowork · Wix · Shopify

More customers now ask ChatGPT or Gemini where to buy, yet most owners have never checked whether the assistant names their business or a competitor. A site that loads everything with JavaScript, hides its hours, prices or service area, or blocks crawlers by accident quietly disappears from those answers and nobody tells you.

Branded posts and emails, staged for your yes

A social content engine that keeps a posting calendar, makes social graphics from the brand's Canva templates, writes captions in the owner's voice, stages posts in HubSpot and saves email copy as Mailchimp drafts, and never publishes or sends anything itself

MarketingEffort: About a weekClaude Cowork · Canva · HubSpot

A small business owner knows they should post every week, but designing each graphic, writing the caption and resizing it for every channel takes an evening they do not have, so the feed goes quiet for weeks. When they do post, the voice and the look change every time because nobody keeps a calendar or a brand standard.

The client ad report without the exports

A marketing agent that pulls live Google Ads and Meta data through the Supermetrics MCP server into Claude, fills the client's report in Google Sheets, flags pacing problems in Slack and pauses campaigns only after approval

MarketingEffort: About a weekSupermetrics · Claude · Google Ads

A small agency in Bangkok or Singapore runs ads for a dozen clients across Google, Meta and TikTok, and every Monday someone exports each platform, pastes the numbers into the client's sheet and writes two lines of commentary. By the time an overspending campaign is noticed in that sheet, half the week's budget is gone.