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

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

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

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

<figure><img src="/files/U28eBZhh55FeoMua4Brz" 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="/files/3X3QHqGDEAzmsty3EEhF" 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.

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

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

<figure><img src="/files/twdCFiqkIETkv6qkbNOU" 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="/files/mxQfj8qClMCx3xSiVe2t" 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.

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

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

<figure><img src="/files/4Cm3tGqysf3Fi8V7NEXr" 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="/files/Mugmf9w5G9WFjNWxHYZ6" alt=""><figcaption></figcaption></figure>

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gallabox.com/integration/payment-gateways/stripe/stripe-workflows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
