# Voiceflow

> Query agent knowledge and inspect conversations in Voiceflow.

App · 9 actions. Web page: https://docs.lodol.com/docs/integrations/voiceflow

## Actions

### Delete conversation state

Delete conversation state.

**Inputs**

- End user (`end_user`, text, required): Stable ID used when starting the agent conversation.
- Environment alias (`environment_alias`, text, required): Environment alias, such as main.
- Version (`version`, text, required): Use the published or draft environment. One of: `published`, `draft`.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Get conversation state

Get conversation state.

**Inputs**

- End user (`end_user`, text, required): Stable ID used when starting the agent conversation.
- Environment alias (`environment_alias`, text, required): Environment alias, such as main.
- Version (`version`, text, required): Use the published or draft environment. One of: `published`, `draft`.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Get transcript

Get transcript.

**Inputs**

- Transcript ID (`transcript_id`, text, required): Transcript ID from Search transcripts.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Get transcript logs

Get transcript logs.

**Inputs**

- Transcript ID (`transcript_id`, text, required): Transcript ID from Search transcripts.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### List functions

List functions.

**Inputs**

- Environment alias (`environment_alias`, text): Environment alias, such as main.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### List transcript files

List transcript files.

**Inputs**

- Transcript ID (`transcript_id`, text, required): Transcript ID from Search transcripts.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Query knowledge base

Query knowledge base.

**Inputs**

- Environment alias (`environment_alias`, text, required): Environment alias, such as main.
- Version (`version`, text, required): Which knowledge base version to query. One of: `draft`, `published`.
- Question (`question`, text, required): Question to ask the knowledge base.
- Synthesis (`synthesis`, true/false): Generate an answer from matching chunks.
- Chunk limit (`chunk_limit`, number): Maximum matching chunks. From 1 to 30.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Search transcripts

Search transcripts.

**Inputs**

- Page size (`page_size`, number): Number of transcripts to return. From 1 to 100.
- Offset (`offset`, number): Number of transcripts to skip. At least 0.
- End time (`end_time`, date and time): Latest creation time.
- Start time (`start_time`, date and time): Earliest creation time.
- Version (`version`, text): Which environment version to search. One of: `draft`, `published`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "transcripts": [
      {
        "createdAt": "example",
        "endedAt": "example",
        "id": "example"
      }
    ]
  }
}
```

### Update conversation variables

Update conversation variables.

**Inputs**

- End user (`end_user`, text, required): Stable ID used when starting the agent conversation.
- Environment alias (`environment_alias`, text, required): Environment alias, such as main.
- Version (`version`, text, required): Use the published or draft environment. One of: `published`, `draft`.
- Variables (`variables`, object, required): Variable names and new values.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```
