# Call Results to Edesy Tables

> Log every Edesy AI voice agent call as a row in an Edesy Tables call log (outcome, summary, recording, call ID and your extracted fields) with the post-call workflow's Webhook step and a tbl_ API key. Setup, field map, test and fixes.

Source: https://edesy.in/docs/voice-agent/recipes/call-results-to-edesy-tables

**Template page:** [Call results to Edesy Tables](https://edesy.in/templates/recipes/call-results-to-edesy-tables) shows the whole chain, sample data and the apps it uses.

When a call is analysed, the voice agent's post-call workflow posts the result to your Edesy Tables table, so every call becomes one row: when it happened, who was called, the outcome, a two-line summary, the recording link and whatever your extraction template pulled out (budget, preferred batch, visit date). Your team filters, sorts and assigns from one table instead of opening call history one call at a time. The step adds nothing to the call cost; you pay only for call minutes (₹6 a minute on pay as you go, ₹4 to ₹5 on monthly plans, plus telephony).

**Works with:** Edesy Tables **Native** (post-call workflow **Webhook** step calling the Tables records API with `Authorization: Bearer tbl_...`) · works for calls from any source: campaigns, API calls, Edesy Workflow calls and inbound calls

> **Note:** There is no dedicated "Edesy Tables" picker in the post-call workflow. You paste the table's records URL and your `tbl_` key into the **Webhook** step once; after that each call writes a row with no other tool in between.

## How it works

```text
Call ends ──> post-call extraction ──> "Data Extracted" trigger (this agent)
                                              │
                                              ▼
                              Webhook step, POST
                              https://tables.edesy.in/api/v1/tables/<tableId>/records
                              Authorization: Bearer tbl_...
                              Idempotency-Key: {{conversationId}}
                                              │
                                              ▼
                      New row: time, name, phone, outcome, summary,
                      recording, call ID + your extracted fields
```

## Before you start

- A voice agent with a [post-call extraction template](https://edesy.in/docs/voice-agent/post-call/extraction-templates) (Agent → **Behavior** → **Post-Call Extraction**). Without one you still get the outcome, transcript and recording, but no summary or custom fields.
- An Edesy Tables account at [tables.edesy.in](https://tables.edesy.in). The [Call Log template](https://edesy.in/online-database/templates/call-log-template) is a good starting table.
- Owner or admin rights in the voice agent workspace, to create post-call workflows.

## Step 1: Prepare the table

1. In Edesy Tables, create a base from the **Call Log** template, or create a table with these fields:

| Field | Type | Filled from |
|---|---|---|
| Called at | Text (or Date) | `{{_timestamp}}` |
| Name | Text | `{{recipientName}}` |
| Phone | Phone or Text | `{{recipientPhone}}` |
| Outcome | Single select | `{{disposition}}` |
| Summary | Long text | `{{callSummary}}` |
| Duration (s) | Number | `{{callDuration}}` |
| Recording | URL | `{{callRecordingUrl}}` |
| Agent | Text | `{{agentName}}` |
| Source | Text | `{{callSource}}` (campaign, api, inbound or test) |
| Call ID | Text | `{{conversationId}}` |
| Budget, Next step... | Any | Your extraction fields, for example `{{budget_range}}` |

2. Open the base's **Share** dialog, then the **API & webhooks** tab, and copy the **table ID**.
3. In Tables **Settings**, create an API key. It starts with `tbl_`. Copy it now; it isn't shown again.

## Step 2: Add the post-call workflow

1. In the voice agent, open your agent, go to the **Integrations** tab, then **Post-Call Workflows**, and click **Add Workflow** (or start from **Workflows** in the sidebar).
2. Choose the trigger **Data Extracted** and select the agent (or several agents, if they should all log to the same table). Use **Call Ended** if you don't use extraction; it fires a little sooner but has no summary or extracted fields.
3. Add a **Webhook** step and fill it in:

```text
Method:  POST
URL:     https://tables.edesy.in/api/v1/tables/<tableId>/records
Headers: Authorization: Bearer tbl_xxxxxxxx
         Content-Type: application/json
         Idempotency-Key: {{conversationId}}
Body:
{
  "typecast": true,
  "records": [{ "fields": {
    "Called at": "{{_timestamp}}",
    "Name": "{{recipientName}}",
    "Phone": "{{recipientPhone}}",
    "Outcome": "{{disposition}}",
    "Summary": "{{callSummary}}",
    "Duration (s)": "{{callDuration}}",
    "Recording": "{{callRecordingUrl}}",
    "Agent": "{{agentName}}",
    "Source": "{{callSource}}",
    "Call ID": "{{conversationId}}",
    "Budget": "{{budget_range}}"
  }}]
}
```

   - `typecast: true` lets Tables turn text into numbers, dates and select options (a new outcome becomes a new option).
   - Field names work; field IDs keep working if someone renames a column.
   - The `Idempotency-Key` stops a retried webhook from adding the same call twice.
4. Save the workflow as **Draft**, place a test call, check the row, then set it to **Active**.

## Step 3: Make the table useful

- Create a view filtered to **Outcome** is `QUALIFIED` or `CALLBACK_REQUESTED`, sorted by **Called at**, for the sales team's morning list.
- Group by **Agent** or **Source** to compare campaigns and lead sources.
- Add an **Owner** and a **Status** field that your team fills in; the workflow never overwrites them because it only creates rows.
- To log only some calls, add a **Condition** step before the Webhook step, for example `disposition == QUALIFIED`.

## Data map

| Variable | Trigger | What lands in the row |
|---|---|---|
| `recipientPhone`, `recipientName` | Call Ended, Data Extracted | Number called and the name, if known |
| `disposition` | both | `QUALIFIED`, `NOT_INTERESTED`, `CALLBACK_REQUESTED`, `NO_ANSWER`, `DO_NOT_CALL` and others. See [dispositions](https://edesy.in/docs/voice-agent/post-call/dispositions) |
| `_timestamp`, `callDuration` | both | Call time in IST (DD/MM/YYYY HH:mm) and seconds |
| `callRecordingUrl`, `callTranscript` | both | Signed recording link; full transcript (long, so only add it if you need it) |
| `agentName`, `callSource`, `campaignName` | both | Which agent; campaign, api, inbound or test |
| `conversationId` | both | The call ID, also `conversation_id` in the `call.analyzed` webhook |
| `callSummary` | Data Extracted | The AI summary |
| Your extraction fields | Data Extracted | Flattened, for example `{{budget_range}}`, `{{preferred_batch}}`, `{{site_visit_date}}` |

## Sample extraction template

The agent's prompt doesn't change for this recipe; the extraction template decides which extra columns you get. For a coaching institute's enquiry line, in **Post-Call Extraction → New Template**:

| Field Key | Data Type | AI Description |
|---|---|---|
| `course_interest` | Single Choice (Enum): `jee`, `neet`, `foundation`, `other` | Course the caller asked about |
| `preferred_batch` | Single Choice (Enum): `morning`, `evening`, `weekend`, `unknown` | Batch timing they prefer |
| `next_step` | Text | What was agreed, for example "demo class Saturday 11 am" |
| `language_used` | Text | Language the caller mostly spoke (Hindi, English, Marathi...) |

A matching agent prompt line, so the summary reads well in the table:

```text
Before ending, repeat the next step in one sentence, in the caller's language:
"Theek hai, Saturday 11 baje demo class confirm hai." / "So, your demo class is
confirmed for Saturday at 11 am."
```

## Test it

1. Place a test call to yourself from the agent page and answer like a lead would.
2. Wait for extraction (usually under a minute), then refresh the table: one new row should appear.
3. If no row appears, open the workflow's execution history. Each run shows the trigger data and the Webhook step's response code and body.
4. Fix the cause and click retry on the failed run. To fill the table with earlier calls, use **Backfill** on the workflow.

## Troubleshooting

| What you see | Likely cause | Fix |
|---|---|---|
| `401` in the step's response | Wrong or deleted `tbl_` key, or `Bearer` missing | Create a new key in Tables **Settings** and paste it as `Bearer tbl_...` |
| `404` | Wrong table ID, or a base ID pasted instead | Copy the table ID again from **Share → API & webhooks** |
| `422` or a field error | A field name in the body doesn't exist, or a value can't be converted | Match names exactly (case matters) or use field IDs; keep `typecast: true` |
| Row appears with empty Summary or extracted fields | Trigger is **Call Ended**, or the extraction template has no such key | Use **Data Extracted**; check the field key spelling |
| Two rows for one call | Two active workflows for the same agent, or no `Idempotency-Key` | Keep one workflow per table; add the header |
| No row for unanswered calls | **Data Extracted** only fires when there is a conversation to extract | Add a second workflow on **Call Ended** filtered to `NO_ANSWER`, `BUSY` and `FAILED` |

## Consent and data protection

- Transcripts and recording links are personal data. Share the base only with people who need it, and don't publish a public view of it.
- Keep `DO_NOT_CALL` rows, so nobody re-dials those numbers, and add the numbers under **Settings → Blocked Numbers** in the voice agent.
- The calls themselves follow the consent rules and calling window (9 am to 9 pm IST is the usual choice) of the recipe that starts them.

## What it can't do yet

- The step always creates a row. It doesn't find and update the lead's existing row (for example the row Edesy Forms created for the same enquiry). Match the two on phone number, or update the row yourself.
- There is no dedicated Tables step with a field picker; you type the JSON body once.
- Variables you sent when starting the call (such as a lead ID) are not listed among the post-call variables. Use the phone number and call ID to join data.

## FAQ

**Why Edesy Tables instead of Google Sheets?**
Tables has typed fields, views, filters and an API with idempotency, and it handles thousands of rows an hour. If your team already lives in a sheet, use [Call results to Google Sheets](https://edesy.in/docs/voice-agent/recipes/call-results-to-google-sheets); the setup is the same idea with a native **Google Sheets Append** step.

**Can several agents write to one table?**
Yes. Select all of them in the trigger, and add the **Agent** column so you can filter by agent.

**Does it cost extra?**
No. Workflow steps don't add charges to the voice agent; you pay for call minutes. Edesy Tables is billed on its own plan.

**Can I write to Edesy Boards as well?**
Yes. Add a second **Webhook** step that posts to `https://boards.edesy.in/api/v1/boards/<boardId>/cards` with a `brd_` key, for example only for `QUALIFIED` calls.

## Related

- [Call results to Google Sheets](https://edesy.in/docs/voice-agent/recipes/call-results-to-google-sheets)
- [Workflow triggers and steps](https://edesy.in/docs/voice-agent/workflows/triggers-and-steps)
- [Extraction templates](https://edesy.in/docs/voice-agent/post-call/extraction-templates)
- [Recipe templates](https://edesy.in/templates/recipes) · [Edesy Tables](https://edesy.in/online-database) · [AI voice agent](https://edesy.in/ai-voice-agent)

[Start free](https://voice-agent.edesy.in/signup?utm_source=edesy.in&utm_medium=docs&utm_campaign=call-results-to-edesy-tables) · [Book a demo](https://edesy.in/demo?product=voice-agent) · Don't see your app? [Request it](https://edesy.in/integrations/request?ref=call-results-to-edesy-tables)
