> ## Documentation Index
> Fetch the complete documentation index at: https://docs-next.gallabox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stripe Workflows

> Automate payment success, failed, and invoice alerts with Gallabox's Stripe Integration workflows. Keep customers informed and enhance satisfaction.

### Overview

To send the payment success, failed, and invoice finalized alerts automatically, you will have to create workflows under the Stripe Integration with Gallabox. Let's delve into that.

### Payment Intent Success Alerts

When a payment process concludes successfully, it's essential to notify your customers promptly. The ***Payment Intent Success Alerts*** serve this purpose by automating confirmation messages through the Stripe Integration with Gallabox.

1. Click on Use button beside **Payment Intent Success Workflow**, and choose a **Message Template** that you want to send to your customers.
2. Map the **variables** for the selected message templates and click on **Submit.**

<Frame>
  <video src="https://mintcdn.com/gallabox/zlyXiaXI2I0eCp1u/images/payment-intent-success-variables.mp4?fit=max&auto=format&n=zlyXiaXI2I0eCp1u&q=85&s=c8cc7705c53cf22ca3fde908fb5d3dbe" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/payment-intent-success-variables.mp4" />
</Frame>

3. Click on **Add Action**. Choose the action you would like the workflow to perform after sending the message like Updating contact tags, conversation tags, or contact email and so on..

<Frame>
  <video src="https://mintcdn.com/gallabox/zlyXiaXI2I0eCp1u/images/payment-intent-sucess-workflow.mp4?fit=max&auto=format&n=zlyXiaXI2I0eCp1u&q=85&s=c8fc83038b7d53f492f80b8938039621" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/payment-intent-sucess-workflow.mp4" />
</Frame>

### Payment Intent Failed Alerts

This workflow is designed to send alerts when a payment intent fails. It helps in quickly identifying and addressing payment issues to ensure a smooth transaction process.

1. Click on Use button beside **Payment Intent Failed Workflow**, and choose a **Message Template** that you want to send to your customers.

<Frame>
  <video src="https://mintcdn.com/gallabox/zlyXiaXI2I0eCp1u/images/payment-intent-failed.mp4?fit=max&auto=format&n=zlyXiaXI2I0eCp1u&q=85&s=a79661184f69fb13472e387f6f48770a" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/payment-intent-failed.mp4" />
</Frame>

2. Map the **variables** for the selected message templates and click on **Submit.**

<Frame>
  <video src="https://mintcdn.com/gallabox/zlyXiaXI2I0eCp1u/images/payment-intent-failed-variables.mp4?fit=max&auto=format&n=zlyXiaXI2I0eCp1u&q=85&s=c3fc729fb56599e7c1ef18c236cb764b" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/payment-intent-failed-variables.mp4" />
</Frame>

3. Click on **Add Action**. Choose the action you would like the workflow to perform after sending the message like Updating contact tags, conversation tags, or contact email and so on..

<Frame>
  <video src="https://mintcdn.com/gallabox/zlyXiaXI2I0eCp1u/images/payment-intent-failed-workflow.mp4?fit=max&auto=format&n=zlyXiaXI2I0eCp1u&q=85&s=1e2e6853b3858d3cbf151ef5df057d34" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/payment-intent-failed-workflow.mp4" />
</Frame>

### Invoice Finalized Alerts

The Invoice Finalized Alerts workflow is designed to automatically notify customers when their invoice has been processed and finalized. This ensures timely communication and enhances customer satisfaction by keeping them informed about their billing status.

1. Click on Use button beside **Invoice Finalized Workflow**, and choose a **Message Template** that you want to send to your customers.

<Frame>
  <video src="https://mintcdn.com/gallabox/zLr1bn4U7TLbupvD/images/invoice-finalized.mp4?fit=max&auto=format&n=zLr1bn4U7TLbupvD&q=85&s=bdc98da668e6f8e312e5186f46715622" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/invoice-finalized.mp4" />
</Frame>

2. Map the **variables** for the selected message templates and click on **Submit.**

<Frame>
  <video src="https://mintcdn.com/gallabox/zLr1bn4U7TLbupvD/images/invoice-finalized-variables.mp4?fit=max&auto=format&n=zLr1bn4U7TLbupvD&q=85&s=c180a46228c4cca10b409f4d55a070e6" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/invoice-finalized-variables.mp4" />
</Frame>

3. Click on **Add Action**. Choose the action you would like the workflow to perform after sending the message like Updating contact tags, conversation tags, or contact email and so on..

<Frame>
  <video src="https://mintcdn.com/gallabox/zLr1bn4U7TLbupvD/images/invoice-finalized-workflow.mp4?fit=max&auto=format&n=zLr1bn4U7TLbupvD&q=85&s=308879c057bd1b277cbd2f807e7af798" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/invoice-finalized-workflow.mp4" />
</Frame>

With these steps, you can effectively customize your Stripe workflows to enhance communication and management tasks.
