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

# Workflows overview

> Understand how Workflows send Loyalty v2 events to external applications through webhook callouts

Workflows connect Loyalty v2 events to external applications. When an event matches a trigger, the workflow runs every connected webhook callout.

## When to use Workflows

Use Workflows when an external application needs to react to Loyalty v2 events. For example, you can send loyalty events to:

* A customer relationship management (CRM) platform.
* An email or customer engagement platform.
* A custom application.

## How Workflows work

A workflow is a graph made of two types of building blocks:

| Building block      | What it does                                      | Example                        |
| ------------------- | ------------------------------------------------- | ------------------------------ |
| **Trigger**         | Starts the workflow when a matching event occurs. | A member earns loyalty points. |
| **Webhook callout** | Sends the event to your endpoint.                 | Send the event to your CRM.    |

Connect a trigger to one or more webhook callouts. When an event matches the trigger, Voucherify starts a workflow run and executes every connected callout.

One trigger can connect to several webhook callouts. A webhook callout can also accept connections from several triggers.

<Info>
  Workflows currently support Loyalty v2 transaction and activity triggers.
</Info>

### What's next for Workflows

We're continuing to build on this foundation:

* Version control: Track changes over time and compare your active setup against earlier versions.
* A larger node library: Build richer automations with new nodes, including conditional `IF` statements, publications, Loyalty v2 reward purchases, core events, and more.
* Execution and run history: See exactly what your workflows have been doing, with run tracking and a status breakdown of everything that passed or failed.

## Next steps

<CardGroup cols={2}>
  <Card title="Build a workflow" icon="diagram-project" href="/integrations/build-workflows">
    Create, connect, publish, and activate a Loyalty v2 workflow.
  </Card>

  <Card title="Workflow options" icon="book" href="/integrations/workflow-options-limits">
    Review triggers, webhook callouts, statuses, behavior, and limits.
  </Card>

  <Card title="Workflows webhooks" icon="webhook" href="/api-reference/workflows-webhooks">
    Review the payload structure for Loyalty v2 transactions and activities.
  </Card>

  <Card title="Monitor webhook deliveries" icon="clipboard-list" href="/analyze/audit-logs#webhook-sendouts">
    Inspect delivery details and retry failed webhook sendouts.
  </Card>

  <Card title="Loyalty v2 integration" icon="code" href="/guides/loyalty-v2-integrate">
    Integrate members, point wallets, earning rules, rewards, and transactions.
  </Card>
</CardGroup>
