> For the complete documentation index, see [llms.txt](https://docs.copperx.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.copperx.io/integrations/zapier.md).

# Zapier

To create Zapier Automation:

1. Login to your [Zapier](https://zapier.com/) account and click on the **Create Zap** button from the Sidebar.

   <figure><img src="/files/qMwkmxdzx7H4yKygeEzq" alt=""><figcaption></figcaption></figure>

2. Now in the **Trigger**, search for the "Copperx" app and select **Checkout Session Completed** as the event and click **Continue**.

   <br>

   <figure><img src="/files/KY9XcyloriEAuDNOQQmN" alt=""><figcaption></figcaption></figure>

3. Next is to test the trigger, for that you need to copy the **webhook URL** and add it to the Copperx [webhooks settings](https://dashboard.copperx.io/developer/webhooks) as new webhook endpoint. (**Note :** you can test trigger by switching to Testnet and adding the copied URL to webhooks settings, but be sure to remove the URL from Testnet after the successful payment test.)

   <br>

   <figure><img src="/files/rHT0VLVQMsgvbYUYb6u0" alt=""><figcaption></figcaption></figure>

4. Next, select the email app you want to use as the **Action** app. For example, you could choose Gmail, Outlook, or any other email service and select "Send Email" as the event. Now, click **Continue** and log in to your email service.

   <figure><img src="/files/9haXBLvJ9u4b2NLBYxEm" alt=""><figcaption></figcaption></figure>

5. Now, you need to fill the **Email** **To** field as the "Customer Email" from the given option data and fill other relevant fields such as email subject and body as per your business needs.

   <br>

   <figure><img src="/files/0T3g055JdDUplIczyiHp" alt=""><figcaption></figcaption></figure>

6. At this stage, you can test your Zap and **Publish** it.<br>

   <figure><img src="/files/3cmDpK72ohEEeYlC7UlS" alt=""><figcaption></figcaption></figure>

Once you've completed these steps, you're ready to send customized emails to your customers through this automation.
