Skip to content

WeChat Official Account

With WeChat modules in Ibexa Connect, you can manage all your messaging, assets, tags, and users, generate QR codes, and make API calls in your WeChat Official Account.

To get started, create a WeChat Official Account. You must register your WeChat Official Account under an Overseas Business Entity and select from two different types of accounts. Please follow this application procedure and learn more about the process, requirements, fees, and rules.

Connecting WeChat to Ibexa Connect

To make a connection you need an App ID and App Secret from your WeChat Official Account.

  1. Log in to your WeChat Official Account.

    1. Go to the WeChat public platform.

    2. Scan the QR code with the scanner in your WeChat app (other barcode scanning apps will not work).

    3. Click Accept on your phone and the website redirects you.

  2. You should now see your App ID and App Secret under Test number information. Copy these to your clipboard.

    wechat_1.png

  3. Go to your Ibexa Connect scenario and select the WeChat Official Account module you want to use.

  4. Under Connection, click Add.

  5. Give your new connection a name.

  6. Paste the App ID and App Secret in the fields below.

  7. Click Save.

You have successfully established the connection.

Webhook configuration

The Watch Messages module allows you to monitor for incoming messages and trigger a scenario.

  1. Go to your Ibexa Connect scenario and select the Watch Messages module.

    wechat_2.png

  2. You can put any random string in Token but remember to write it down. This token is for webhook validation.

  3. Click Save and copy the webhook address to your clipboard.

  4. Save the scenario and refresh the page.

  5. Go back to your WeChat Official Account and click modification under the title Interface configuration information.

  6. Paste the webhook URL and the token, then click submit. If an error message appears, make sure you have pasted the correct webhook address and token.

    wechat_3.png

  7. To perform a test, add a Send a Message module and configure as follows.

    wechat_4.png

    Then you should get a message after you send a message to your WeChat Official Account.

You have successfully configured the webhook.