Integrate with third-party platforms

Updated at:

Website AI Suite extends AI customer service to WeChat Official Accounts, DingTalk robots, and Feishu robots. After integration, Website AI Suite automatically handles user inquiries from these channels and returns AI responses.

The integration workflow spans three systems. You create a connection credential in Alibaba Cloud AppFlow, associate a channel in the Website AI Suite management console, and, for DingTalk and Feishu robots, paste the generated webhook URL into the robot configuration on the corresponding open platform.

Supported channel types

Website AI Suite supports the following third-party platforms for AI customer service:

Platform

Connector in AppFlow

Credential information

Additional configuration

WeChat Official Account (Subscription Accounts and Service Accounts)

WeChat Official Account

Developer ID (AppID)

None. The channel is associated directly after you select the credential.

DingTalk robot

DingTalk App Robot

AppID and Secret

Paste the generated webhook URL into the robot configuration on the DingTalk Open Platform.

Feishu robot

Feishu Custom App Robot

AppID and Secret

Paste the generated webhook URL into the robot configuration on the Feishu Open Platform.

Subscription Accounts and Service Accounts follow the same configuration flow.

Prerequisites

  • You have created Website AI Suite and embedded the Website AI Suite JavaScript code into your website. If the JavaScript code is not embedded, Third-party Platform Integration is grayed out and unavailable.

  • You have access to Alibaba Cloud AppFlow.

  • The credential information required for the target channel is obtained from the corresponding open platform: the developer ID (AppID) of your WeChat Official Account, or the AppID and Secret of your DingTalk robot application or Feishu custom application.

Create connection credentials

A connection credential is an authorization credential for a third-party platform. Before you associate a channel, create a connection credential for the corresponding platform in Alibaba Cloud AppFlow.

  1. Go to the AppFlow Connection Credentials page.

  2. Click Create Credential and select the Public Connector type.

  3. In the Connector field, search for and select the connector for the target platform:

    • WeChat Official Account: Click Authorize, enter the developer ID (AppID) as prompted, and scan the QR code to complete authorization.

      Go to the WeChat Official Accounts Platform. In the left-side navigation pane, choose Settings & Development > Development API Management. Click the Basic Configuration tab to obtain the AppID.

    • DingTalk App Robot: Enter the credential information, such as the AppID and Secret, as prompted, and save it.

      Create a robot application on the DingTalk Open Platform to obtain the required information.

    • Feishu Custom App Robot: Enter the credential information, such as the AppID and Secret, as prompted, and save it.

      Create a custom application on the Feishu Open Platform to obtain the required information.

  4. After you create a credential, you can view its credential ID, associated connection flows, and creation time in the credential list. An invalid or expired credential causes channel association to fail. For solutions, see Troubleshooting.

Associate a channel

  1. Log on to the Domain Names console, in the left-side navigation pane, click Website AI Suite. Find the target website and open its management console.

  2. In the left-side navigation pane of the management console, click Third-party Platform Integration.

  3. Click Associate Channel in the upper-right corner.

  4. In the dialog box that appears, configure the following settings:

    • Name: Enter a name that helps you identify the channel.

    • Select Platform: Select the platform to integrate. For the supported platforms and their integration requirements, see Supported channel types.

    • Connection Credential: Select a connection credential that you created. If you have not created one, first complete Create connection credentials.

  5. Click Confirm to submit the configuration.

  6. Complete the remaining configuration based on the channel type:

    • WeChat Official Account: The channel is associated directly after you select a credential.

    • DingTalk and Feishu: The system generates a webhook URL. Copy the URL, go to the robot configuration page on the corresponding open platform, paste the URL into the Webhook address field, and save the configuration. If the channel cannot receive messages, see Troubleshooting.

    The channel appears in the channel list on the Third-party Platform Integration page. Website AI Suite then automatically handles user inquiries from the channel and returns AI responses. If the channel fails to associate, see Troubleshooting.

Manage channels

After a channel is associated, you can view and manage all channels on the Third-party Platform Integration page.

  • Enable or disable a channel: Click the switch in the Status column to change the channel status. After a channel is disabled, users cannot access AI customer service through the channel.

  • View the webhook URL: For DingTalk and Feishu channels, you can view and copy the webhook URL in the Actions column to reconfigure the robot on the third-party platform. For instructions about pasting the webhook URL into the robot configuration, see Associate a channel.

  • Delete: Deleting a channel immediately stops AI customer service through the channel.

Warning

If you delete a channel, the configuration cannot be restored, and user sessions in progress through the channel are interrupted.

Troubleshooting

Issue

Possible cause

Solution

Failed to associate a channel

The connection credential is invalid or has expired.

Create the credential again in AppFlow. Make sure that the credential matches the selected platform, and then try again.

A DingTalk or Feishu channel cannot receive messages

The webhook URL is not configured or is incomplete.

Make sure that the complete webhook URL is pasted into the Webhook address field of the corresponding robot, and then save the configuration.

Third-party Platform Integration is grayed out and unavailable

The Website AI Suite JavaScript code is not embedded into the website.

For instructions, see Embed the Website AI Suite JavaScript code into your website.

The WeChat Official Account channel does not reply as expected

The WeChat credential does not match the platform or has expired.

Check the credential status in AppFlow. If necessary, create a new WeChat Official Account credential.