AI Agent Hub
Back to skills
Umeng Mini Program Promotion Link Management icon

Umeng Mini Program Promotion Link Management

Business Operations Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Follow https://skillhub.cn/install/skillhub.md and install @user_fc9923d6/uapp-campaign.

About this skill

What it solves

Mini program, H5, and mini game promotion link management follows a fixed path: create a campaign, confirm the channel, and obtain a shareable URL. Legacy scripts often mix app names, AK/SK handling, and list queries; callers need to know which endpoints require dataSourceId, whether writes are irreversible, and whether the response already contains the full URL.

How it works

This skill calls two APIs in the com.umeng.umini namespace through umeng-cli call:

  • umeng.umini.createCampaign: a write endpoint that requires dataSourceId, campaignName, and channelName, with optional path. On success it returns only the campaign code, not the full URL.
  • umeng.umini.getSceneInfoList: a read-only endpoint that requires dataSourceId and sourceType, where sourceType is either campaign or channel, and returns all records for the current mini program in one response.

A typical creation flow is to recap the campaign name and channel to the user, call createCampaign, then use getSceneInfoList(sourceType=campaign) to filter by the returned code and extract the url.

Scope and limits

This capability applies only to WeChat, Alipay, ByteDance, Baidu, and QQ mini programs, WeChat mini games, and H5. It does not cover Android or iOS apps; app channel analysis should use umeng-cli-uapp-channel-version. getSceneInfoList does not support pagination; createCampaign should not be retried automatically on failure; Chinese parameters can be passed directly without manual encodeURIComponent.

Use Cases

  • Create a WeChat mini program campaign and Douyin channel, then retrieve the shareable URL.
  • List all campaigns and channels for a mini program with code, name, and creation time.
  • After creating a campaign, query the campaign list by code to obtain the full URL.
  • When users request promotion links for Android or iOS apps, reject and point to app channel analysis.

Best For

  • Mini program growth operators who need to create channel campaigns and verify shareable links.
  • Engineers maintaining Umeng OpenAPI assets who need CLI calls instead of legacy scripts.
  • AI Agent integrators who need explicit appkey handling, write confirmation, and URL lookup.
  • Mini program product leads who need to review existing promotion campaigns and channels.