Get started: bring members to the new mini program
The go-live checklist in the Dashboard, step by step: create a channel, import members, publish the jump page, and connect the new mini program.
Every channel page has a go-live checklist. Work through it and returning members can tap once in the old mini program and land in the new one with their points and stored value intact. This guide follows the checklist step by step.
- 1Create a channel
- 2Import the member sheet
- 3Set the jump target
- 4Publish the jump page
- 5Add a relay page to the old mini program
- 6Connect the new mini program
- 7Track progress
Create a channel
Create a channel in the Dashboard, choose how the old mini program connects, and enter its AppID and a name. The channel is enabled as soon as it's created. You can have several channels on one account, one per old mini program.
With Server integration, the old mini program's own backend issues the jumps, so you'll need its developer's help. With Self-developed, you enter the old mini program's AppSecret instead and its backend doesn't change. WeChat authorization is coming soon. To compare them, see Choose how the old mini program connects. You can disable a channel at any time. While it's disabled, you can't import members and no jumps are issued.
Import the member sheet
Upload an xlsx file, up to 5 MB, on the channel's Members tab. You can download a sample from the import dialog. The header row needs an OpenID column and at least one of points or stored value:
| Column | Header | Required | Notes |
|---|---|---|---|
| OpenID | open_id or openid | Yes | The member's OpenID in the old mini program |
| Points | points or point balance | This or stored value | Up to two decimal places; empty counts as 0 |
| Stored value | balance or stored value | This or points | An amount in the same currency as your old system, up to two decimal places; empty counts as 0 |
A name column is optional (name or member name).
For other assets, such as coupons, tiers, or a home store, add more columns with any header. They are kept as they are and handed to the new mini program when it redeems or looks up the member, and the new mini program decides how to credit them.
Import the same OpenID again and the new sheet's points, stored value, and other columns replace the old ones; so does the name, if the new sheet has a name column.
Mobile and email columns are optional too (mobile, phone, or email). When a member opens the new mini program directly instead of jumping from the old one, the new mini program can find their points and stored value with a mobile number or email address the member has verified. Mobile numbers need a country or region code and must start with + or 00, for example +852 9123 4567. A member without one is still imported, just without the mobile number. When you import again, mobile numbers and email addresses that have a value in the sheet are updated; empty cells keep what is already there.
The new mini program credits points and stored value by redeeming them from AcrossFlow. If the new mini program's vendor also offers a member import, import member details only, not points or stored value, or members will be credited twice.
If an import fails or skips rows, see Member import troubleshooting.
Set the jump target
Under Jump target, enter the new mini program's AppID, a landing path, and a version. The path can include a query string; leave it empty to open the home page. The version can be release, trial or develop. Do a full run on the trial version before launch.
Publish the jump page
Under Page, build what returning members see from images, a title, text and jump buttons. Drafts are kept apart from the live page and only go live when you publish. If the page has a jump button, set the jump target first.
Add a relay page to the old mini program
The old mini program needs one relay page, reached from an existing entry point such as a home banner or the member centre, where the member taps to jump to the new mini program. The relay page gets a single-use jump token before it jumps:
- Server integration: the relay page calls the old mini program's own backend, which requests the token from AcrossFlow with an Issue token. The relay page and the backend example are in Server integration.
- Self-developed: the relay page calls AcrossFlow directly with a
wx.logincode, and the backend doesn't change. The relay page is in Self-developed and WeChat authorization.
The examples are ready to copy. For Self-developed, add https://open.acrossflow.com as a request domain; with Server integration the relay page only calls your own backend, so no request domain is needed.
To show the jump page you published in the previous step inside the old mini program, you can also add a web-view page and add app.acrossflow.com as a business domain; the jump page URL is on the channel's Integration tab. This is optional, and mini programs registered to an individual cannot use web-view.
WeChat requires both business domains and request domains to have an ICP filing. acrossflow.com has none, so a mini program registered in mainland China cannot add either: use Server integration and add only the relay page. Mini programs registered outside mainland China can usually add them, though WeChat notes that unfiled links may be unstable or restricted (in Chinese).
Connect the new mini program
On the channel's Integration tab, create a Redeem access token for the new mini program's backend; with Server integration, also create an Issue token for the old one's. Each is shown only once, so pass it on straight away; you can revoke it at any time. The developer follows Redeem jump tokens and report migrations.
Track progress
Each member is in one of three states:
- Not started: imported, but hasn't jumped from the old mini program yet.
- Awaiting result: has arrived in the new mini program, which hasn't confirmed the credit yet.
- Migrated: the new mini program has confirmed the credit. Done.
The channel overview shows the completion rate and how many members are awaiting a result. You can also sort the member list by state.