Build retargeting audience from prior engagement
line_build_audience_from_engagementBuild a LINE audience from users who engaged with a previous broadcast or narrowcast. Use the source request ID to target by clicks or opens, then retarget via line_send_message.
Instructions
Create a LINE audience from people who clicked or opened a previous broadcast/narrowcast — retarget without a CRM. source_request_id is the request_id returned by a prior line_send_message; type 'clicks' (default, optional click_url filter) or 'opens'. The source message must be ≥24h old before the audience is reliable, needs ~50+ users to be usable in narrowcast, and is region-gated to JP/TW/TH (+premium). Feed the resulting audience back into line_send_message target.audience.
Returns { audience_group_id, name, type }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oa | No | ||
| name | Yes | ||
| type | No | 'clicks' = audience of users who clicked any link in the source message; 'opens' = users who saw it. | clicks |
| click_url | No | If 'clicks' and you only want users who clicked a specific URL, set it here. | |
| source_request_id | Yes | The request_id returned by a prior line_send_message (narrowcast/multicast/push/broadcast). |