Documentation Index
Fetch the complete documentation index at: https://help.teable.ai/llms.txt
Use this file to discover all available pages before exploring further.
Build with AI
Open the AI Chat in your table’s right sidebar and describe what you want. AI handles everything: it picks the right trigger, chooses the appropriate actions, maps the fields, and configures the entire workflow automatically. Describe the goal once, and the workflow is ready — no manual setup needed. Sends a prompt to a large language model and returns text or structured JSON. Use it to classify, extract, summarize, or generate data based on your records.Configuration
| Setting | Required | Description |
|---|---|---|
| Prompt | Yes | Your instruction to the AI. Click + to insert dynamic variables from previous steps |
| Model | No | Choose a model. Defaults to the system model. Vision and Reasoning models are also available |
| Temperature | No | Controls randomness: 0 = most deterministic, 1 = most creative. Default is usually around 0.7 |
| Output Type | No | Text (default) — returns free-form text. JSON — returns structured JSON matching a schema you define |
| Attachments | No | Upload images, PDFs, Word docs, or Excel files. Requires a vision-capable model |
Model capabilities
| Tag | Meaning |
|---|---|
| Vision | Can read and analyze images, PDFs, Word documents, and Excel files attached to the prompt |
| Reasoning | Returns both the answer and step-by-step reasoning (chain of thought), useful for complex analysis |
How to set it up
- Add an AI Generate action to your workflow.
- Write your Prompt. This is the instruction the AI will follow. Click + to insert dynamic values — for example, the text of a support ticket, the contents of a form submission, or a product description.
- (Optional) Select a Model if you want to use a specific one instead of the default.
- (Optional) Adjust Temperature. Lower values (0–0.3) give more consistent, predictable outputs. Higher values (0.7–1.0) give more varied, creative outputs.
- (Optional) Switch Output Type to JSON if you need structured data. Define the JSON schema so the AI knows what format to return.
- (Optional) Add Attachments if you want the AI to read documents or images (requires a vision model).
- Save the action. The AI’s response will be available to subsequent steps via the + variable picker.
Prompt writing tips
The quality of the AI output depends heavily on your prompt. Here are practical guidelines:- Be specific. Instead of “Classify this”, write “Classify this support ticket into one of these categories: Billing, Technical, Account, Other.”
- Give examples in the prompt. Show the AI what you expect:
- Define the output format. If you want a specific format, say so: “Return only the category name, nothing else” or “Return a JSON object with keys: category, confidence, reason.”
- Keep it focused. One task per prompt works better than asking the AI to do multiple things at once.
JSON output
When you set Output Type to JSON, the AI returns structured data instead of free text. This is useful when you need to extract multiple pieces of information and use them separately in later steps. Example prompt for JSON output:vendor_name to one field, amount to another, and so on.
Vision models and attachments
Vision models can analyze images and documents. Attach files to the prompt and the AI will “read” them:- Images: screenshots, photos, diagrams, charts.
- PDFs: invoices, contracts, reports.
- Word / Excel files: documents and spreadsheets.
Credit system
Each AI Generate call consumes credits based on:- The model used (more powerful models cost more credits per token).
- The number of tokens processed (both input and output).
Concrete prompt examples
Classification
Data extraction
Summarization
Content generation
Translation
When to use
- Classify support tickets by topic. Automatically categorize incoming tickets so they can be routed to the right team.
- Extract structured data from invoices or emails. Pull out amounts, dates, names, and reference numbers into separate fields.
- Summarize long text fields. Condense meeting notes, descriptions, or comments into brief summaries.
- Generate personalized email content. Create custom email body text based on record data.
- Analyze images and documents. Use vision models to read uploaded invoices, receipts, or screenshots.
Tips
- Use the test panel to iterate on your prompt before activating the automation. Run tests with real data to verify the output format and quality.
- For consistent results (especially classification), set Temperature to 0 or near 0.
- JSON output mode is more reliable when you provide a clear schema in your prompt. Always list the expected keys and their types.
- If you are processing many records in a Loop, keep your prompts concise to reduce token usage and credit costs.
- Connect additional AI providers via Space → Settings → AI settings if the default models do not meet your needs. For details, see Custom AI Models.
Related
- Loop (batch) — process multiple records with AI in a single automation run
- Run script guide — for custom logic that goes beyond prompt-based generation
- Send email
- Update record

