> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Manual Trigger

> Learn how to trigger an integration & automation flow with a custom button, including configuring the flow, setting up the button, and debugging.

This article explains how to trigger an integration & automation flow with a custom button.

The workflow for triggering an integration & automation flow with a custom button is as follows:

## Configure Integration & Automation

Follow these steps to configure a manually triggered integration & automation flow.

1. Sign in to the YiDA workbench and click **My Apps**.
2. Select the app for which you want to create an integration & automation flow, and open the **App Settings** page.
3. Click **Integration & Automation**, then select **Create Integration & Automation** > **Create from Blank**.

<Steps>
  <Step title="In the dialog, enter a name for the flow, set the trigger event to Manual trigger > Custom button trigger, choose the form to trigger, and click Confirm." />

  <Step title="On the integration & automation editing page, add a step and complete its configuration." />
</Steps>

For example, add a message notification step with the notification type set to Work Notifications, the recipient set to Ding Sanduo, and the notification content set to test.

6. Once configured, click **Publish** in the upper-right corner to finish the setup.

## Configure a Custom Button

<Steps>
  <Step title="Open the form editing page of the app, select the form that triggers the flow, and click Edit Workflow Form > Page Settings in the upper-right corner." />

  <Step title="Create the custom button">
    Click **Custom Button** > **Create Custom Button**. In the dialog, enter a name for the button, set **Available Condition** to **All Data**, set **Action Type** to **Run Automation Flow**, and select the flow you created.
  </Step>
</Steps>

3. Click **Confirm** to complete the configuration.
4. On the page settings page, select **Custom Detail Page** > **Create Custom Detail Page**.

<Steps>
  <Step title="On the custom detail page editing page, select the Action Bar component. In the Attribute panel on the right, click Add Item and add the custom button configured in the previous step to trigger the flow." />

  <Step title="Click Publish in the upper-right corner to complete the configuration." />
</Steps>

## Debug

1. Open the data management page of the form and add a new record.

2. After the record is added, click **Details** in the action column, then click the custom button you created.

3. Open the DingTalk chat window and check for messages.

As shown below, the message sent by the flow triggered via the custom button has been delivered successfully.

## Related Topics

* Custom button
* Custom detail page
