For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tiledesk Data Tables MCP

The Tiledesk Data Tables MCP lets an AI Agent read and write structured data directly from an AI Prompt.

Instead of adding separate workflow actions for every table operation, you can describe what the Agent should do and let it inspect the schema, insert records, search rows, update values, or upsert data automatically.

Why use the Data Tables MCP

The main benefit is that information collected during a conversation can become structured, reusable data without manually building a separate action for every field.

  • Save leads, requests, contacts, or other structured data directly from an AI workflow.

  • Read existing rows and use them as part of the next AI decision.

  • Update records without creating separate workflow branches for each field.

  • Use upsert logic to update an existing record or create a new one automatically.

  • Combine Data Tables with the Communicator and Knowledge Base MCPs in the same AI Prompt.

In this guide, we will create a simple Leads table and let the AI Agent save contact information together with a basic lead temperature: cold, mid, or hot.

Available tools

  • DATATABLE_LIST_TABLES — returns the Data Tables available in the project.

  • DATATABLE_SEARCH_TABLES — finds the most relevant table from a natural-language query.

  • DATATABLE_GET_TABLE_SCHEMA — returns the table structure, including exact column names and field types.

  • DATATABLE_QUERY_ROWS — retrieves rows from a table, with optional filtering conditions.

  • DATATABLE_INSERT_ROW — inserts a new row.

  • DATATABLE_UPDATE_ROWS — updates one or more existing rows.

  • DATATABLE_UPSERT_ROWS — updates a matching row or inserts a new one when no match exists.

  • DATATABLE_DELETE_ROWS — deletes matching rows.

Set up a simple lead capture flow

1

Create the Leads table

Create a Data Table called Leads with these columns:

  • full_name — text

  • email — text

  • company — text

  • lead_temperature — text

For lead_temperature, use these values:

  • hot — clear use case and immediate interest in moving forward.

  • mid — relevant use case but still evaluating or without an immediate next step.

  • cold — general interest with no clear active project or short-term need.

2

Enable the Data Tables MCP

Open the AI Prompt action where you want the Agent to work with the table.

Enable the Tiledesk Data Tables MCP so the Agent can access the Data Tables tools.

3

Always read the schema first

Before inserting, querying, updating, deleting, or upserting rows, use DATATABLE_GET_TABLE_SCHEMA.

This lets the Agent use the exact column names configured in the table and prevents it from inventing fields that do not exist.

4

Add a simple prompt

This example saves a lead and assigns a temperature based on the information available in the prompt.

sparklesSave a lead and assign a temperature
5

Update a lead

You can update an existing record when new information becomes available.

For example, a lead initially marked as mid may become hot after asking for a demo or confirming an active project.

sparklesUpdate a lead temperature

Use upsert to avoid duplicate leads

DATATABLE_UPSERT_ROWS is useful when email is used as the matching condition.

If the email already exists, the Agent updates that lead. If it does not exist, a new row is created.

sparklesUpsert a lead by email

This is especially useful in conversational lead-capture flows, where the same contact may return later with new information.

Combine Data Tables with other Tiledesk MCP tools

The Data Tables MCP becomes more useful when combined with the other Tiledesk MCP tools.

For example:

User asks a question → Tiledesk Knowledge Base MCP retrieves the answer → Tiledesk Communicator MCP asks for full name, email, and company → the AI determines whether the lead is cold, mid, or hot → Data Tables MCP saves the lead in the Leads table.

This allows one AI Prompt to manage the full flow without creating a separate workflow action for every step.

Example use cases

  • Lead capture and qualification

  • Customer request tracking

  • Internal request logging

  • Updating customer or contact information

  • Checking existing records before taking an action

  • Creating or updating records with upsert logic

Important: use the exact table schema

Last updated