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

# Microsoft Teams Workflows (webhook)

> Send WorldVisa Chat notifications to a Teams channel with a Workflows webhook URL. No Azure bot or admin consent required.

## Workflows for Teams (Webhook-style)

If you don't need a full Bot identity or Direct Message capabilities, then you can support a simplified, channel-only integration using Workflows for Microsoft Teams.

This approach relies on a unique Webhook URL generated by the Teams client. It requires no Azure app registration and no administrator consent.

### User generates the webhook URL (Teams client)

The setup begins inside the Microsoft Teams app. Instruct your users to follow these steps:

**1. Open Workflows**

In Microsoft Teams, go to **Apps** in the sidebar.
Search for and open **Workflows**.

**2. Create a new flow**

Start from a blank flow or use a template.

**3. Choose a trigger**

For example, select **When a Teams webhook request is received**.

**4. Add a post message action**

Add an action to post a message into a specific channel.

**5. Save the workflow**

Publish your changes so the Teams workflow can receive events.

**6. Copy the webhook URL**

Once created, the workflow generates a unique URL. The user must copy this URL.

### Register the webhook endpoint (WorldVisa)

Use a generic `webhook` endpoint for this flow. Your app should provide a form where the user can paste the URL they generated in the previous step.

```bash theme={null}
curl -L -X POST "${WV_API_URL}/v1/channel-endpoints" \
-H 'Content-Type: application/json' \
-H "Authorization: ApiKey ${WV_API_KEY}" \
-d '{
  "type": "webhook",
  "identifier": "teams-workflow-alerts",
  "integrationIdentifier": "ms-teams-workflow",
  "subscriberId": "customer-account-id",
  "context": {
    "tenant": "acme"
  },
  "endpoint": {
    "url": "https://prod-00.westeurope.logic.azure.com:443/workflows/..."
  }
}'
```

### Sending the notification

When you trigger a workflow that targets this subscriber:

**1. WorldVisa sends HTTP POST**

WorldVisa sends a standard HTTP POST payload to the Teams Workflow URL.

**2. Workflows receives payload**

Teams receives the request and passes it to the configured post-message action.

**3. Workflow posts message**

The Workflow runs and posts the message content into the configured channel.

## Related

> [card] [MS Teams overview](https://docs.worldvisagroup.com/developers/integrations/chat/ms-teams.md)
>
> Learn how Teams delivery fits into a WorldVisa workflow.


## Related topics

- [What is WorldVisa Console?](https://docs.worldvisagroup.com/developers/what-is-worldvisa-console.md)
- [How do workflows work in WorldVisa?](https://docs.worldvisagroup.com/developers/concepts/workflows.md)
- [Microsoft Teams](https://docs.worldvisagroup.com/developers/integrations/chat/ms-teams.md)
- [How do subscribers work in WorldVisa?](https://docs.worldvisagroup.com/developers/concepts/subscribers.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.