# Stripe Workflows

### 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.&#x20;

### 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.&#x20;

<figure><img src="broken-reference" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2Fybd3f9fGIcFkaXOKFX6Z%2FPayment%20Intent%20Success%20-%20Variables.gif?alt=media&#x26;token=532e58a2-f33e-45f8-8c03-09fe071090b7" alt=""><figcaption></figcaption></figure>

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..

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FZYnfNaE4rJOYQi1FGX8O%2FPayment%20Intent%20Sucess%20Workflow.gif?alt=media&#x26;token=c3c38e7d-c79e-4ea8-aa2f-fedf602bc40e" alt=""><figcaption></figcaption></figure>

### 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.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2Fa06tMHP3A8w8riPwBh9W%2FPayment%20Intent%20failed.gif?alt=media&#x26;token=fcda4619-a5dd-4a24-be33-aaff1bbb55f8" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F2toj51S629AneQuHNhNT%2FPayment%20Intent%20Failed%20-%20Variables.gif?alt=media&#x26;token=2f511296-f03d-4c84-8100-a4f5d24ca303" alt=""><figcaption></figcaption></figure>

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..

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FihT248VPJ4zJOOjHjsfj%2FPayment%20Intent%20Failed%20Workflow.gif?alt=media&#x26;token=5227ec42-dfea-4a05-bb0b-df5c00eec025" alt=""><figcaption></figcaption></figure>

### 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.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FkHrU4jAtnTDC5Z9uDY3w%2FInvoice%20Finalized.gif?alt=media&#x26;token=1de05373-e224-46a3-bb44-6ff8b673af9a" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FFO1EsoxOtMOsNuIHL7JP%2FInvoice%20Finalized%20-%20Variables.gif?alt=media&#x26;token=e7ae1ad6-2168-449e-8ba8-4a2c7c865391" alt=""><figcaption></figcaption></figure>

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..

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FA39hfxFc3c0nwcaUXR2e%2FInvoice%20Finalized%20Workflow.gif?alt=media&#x26;token=47d1b14c-ad77-4ba2-82d8-50ff58ef7692" alt=""><figcaption></figcaption></figure>

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