# Gupshup

> List approved WhatsApp templates and send messages from your Gupshup app.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/gupshup

## Actions

### List templates

List templates.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Gupshup.

**Example output**

```json
{
  "data": {
    "status": "example",
    "templates": []
  }
}
```

### Send template message

Send template message.

**Inputs**

- Recipient (`recipient`, text, required): Recipient.
- Template (`template_id`, text, required): Template id.
- Template parameters (`template_parameters`, list): Template parameters.

**Outputs**

- `data` (object): The response from Gupshup.

**Example output**

```json
{
  "data": {
    "messageId": "example",
    "status": "example"
  }
}
```

### Send text message

Send text message.

**Inputs**

- Recipient (`recipient`, text, required): Recipient.
- Text (`text`, text, required): Text.

**Outputs**

- `data` (object): The response from Gupshup.

**Example output**

```json
{
  "data": {
    "messageId": "example",
    "status": "example"
  }
}
```
