Lindy Core Workflow A: Agent Creation
Overview
Complete workflow for creating, configuring, and testing Lindy AI agents.
Agents consist of four components: Prompt (behavioral instructions),
Model (AI engine), Skills (available actions), and Exit Conditions
(completion criteria).
Prerequisites
- Lindy account at https://app.lindy.ai
- Use case defined (support bot, email triage, data processor, etc.)
- Required integrations identified (Slack, Gmail, Sheets, etc.)
Instructions
Step 1: Define Agent Specification
Before building, document:
- Purpose: What the agent does (one sentence)
- Trigger: What wakes it up (webhook, email, schedule, chat, etc.)
- Actions: What it does (send email, update sheet, post to Slack, etc.)
- Model: GPT-4 (smart, expensive), Claude Sonnet (balanced), Gemini Flash (fast, cheap)
Step 2: Create the Agent
Option A — Natural Language (recommended):
- Click New Agent at https://app.lindy.ai
- Describe your agent in plain English:
When a customer emails support@company.com, classify the email as
billing/technical/general, draft a response using our knowledge base,
and post the classification to #support-triage in Slack
- Agent Builder auto-generates trigger + action nodes
Option B — Manual Build:
- Click New Agent > Start from scratch
- Add trigger: Click "+" > Select trigger type
- Add actions: Click "+" > Search for action
- Connect nodes by dragging arrows between steps
Step 3: Configure the Prompt
Open Settings > Prompt. Structure it with clear sections:
## Identity
You are a customer support classifier and responder for [Company].
## Instructions
1. Read the incoming email carefully
2. Classify into: billing, technical, or general
3. Search the knowledge base for relevant answers
4. Draft a professional response using the KB results
5. If no KB match found, escalate to human
## Constraints
- Never promise refunds or credits without human approval
- Keep responses under 200 words
- Always include ticket reference number
Prompt best practices (from Lindy docs):
- Use action-oriented language (imperatives)
- Break complex logic into numbered steps
- Include few-shot examples for consistent formatting
- Add constraints to prevent unwanted behavior
Step 4: Add Conditions (Branching Logic)
- Click "+" > Condition
- Write natural language condition:
"Go down this path if the email is about billing"
- Add multiple branches for different classifications
- Enable "Force the agent to select a branch" for deterministic routing
Step 5: Configure Actions
For each action, set field modes:
Auto mode — Agent infers the value from all previous step data:
Best for: predictable mappings where field names align
AI Prompt mode — Give natural language instructions:
Summarize the email in 2 sentences, then include the classification.
Reference: {{email_received.body}}
Set Manually mode — Exact value, no AI:
Channel: #support-triage
Step 6: Add Knowledge Base (Optional)
- Go to Settings > Knowledge Base
- Add sources: PDF, DOCX, Google Drive, Notion, websites
- Configure search:
- Max Results: 4 (default) to 10
- Search Fuzziness: 0 (keyword) to 100 (semantic, recommended)
- Agent auto-searches KB when relevant to the task
Step 7: Test the Agent
- Use the Test button in the workflow editor
- Provide sample input matching your trigger type
- Review each step's output in the task detail view
- Iterate on prompt and action configuration
Trigger Types Reference
| Trigger |
Use Case |
Configuration |
| Webhook Received |
External API calls |
URL + secret key |
| Email Received |
Inbox automation |
Gmail/Outlook + label filters |
| Schedule |
Recurring tasks |
Cron-style: daily, weekly, custom |
| Chat Message |
Interactive bot |
Lindy Chat or Embed widget |
| Slack Message |
Team automation |
Channel + keyword filters |
| Agent Message |
Multi-agent delegation |
Receives from other Lindies |
| Calendar Event |
Meeting automation |
Minutes offset (-30 = 30 min before) |
| Form Submission |
Lead capture |
Connected form integration |
Action Categories
| Category |
Actions |
| Email |
Send Email, Draft Reply, Search Inbox, Add Label |
| Slack |
Send Channel Message, Send DM, Thread Reply |
| Sheets |
Update Spreadsheet, Get Document |
| Calendar |
Create Event, Reschedule, Cancel |
| Knowledge |
Search Knowledge Base, Resync KB |
| Code |
Run Code (Python/JS in E2B sandbox) |
| Web |
HTTP Request, Web Search, Website Crawler |
| Memory |
Read/Create/Update/Delete Memory |
| Phone |
Make Call, Transfer Call, End Call |
| Agent |
Agent Send Message (delegation) |
Error Handling
| Error |
Cause |
Solution |
| "No trigger configured" |
Agent has no trigger |
Add at least one trigger node |
| Action fails silently |
Wrong field mode |
Switch to AI Prompt or Set Manually |
| KB returns no results |
Fuzziness too low |
Increase to 100 (semantic search) |
| Condition always picks same path |
Ambiguous prompt |
Make conditions more specific |
| Agent loops indefinitely |
No exit condition |
Add measurable exit criteria |
Resources
Next Steps
Proceed to lindy-core-workflow-b for triggers, automation, and multi-agent delegation.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: jeremylongshore-claude-code-plugins-plus-skills-lindy-core-w3description: Lindy Core Workflow A: Agent Creation4---5# Lindy Core Workflow A: Agent Creation67## Overview8Complete workflow for creating, configuring, and testing Lindy AI agents.9Agents consist of four components: **Prompt** (behavioral instructions),10**Model** (AI engine), **Skills** (available actions), and **Exit Conditions**11(completion criteria).1213## Prerequisites14- Lindy account at https://app.lindy.ai15- Use case defined (support bot, email triage, data processor, etc.)16- Required integrations identified (Slack, Gmail, Sheets, etc.)1718## Instructions1920### Step 1: Define Agent Specification21Before building, document:22- **Purpose**: What the agent does (one sentence)23- **Trigger**: What wakes it up (webhook, email, schedule, chat, etc.)24- **Actions**: What it does (send email, update sheet, post to Slack, etc.)25- **Model**: GPT-4 (smart, expensive), Claude Sonnet (balanced), Gemini Flash (fast, cheap)2627### Step 2: Create the Agent28**Option A — Natural Language (recommended)**:291. Click **New Agent** at https://app.lindy.ai302. Describe your agent in plain English:31 ```32 When a customer emails support@company.com, classify the email as33 billing/technical/general, draft a response using our knowledge base,34 and post the classification to #support-triage in Slack35 ```363. Agent Builder auto-generates trigger + action nodes3738**Option B — Manual Build**:391. Click **New Agent** > **Start from scratch**402. Add trigger: Click **"+"** > Select trigger type413. Add actions: Click **"+"** > Search for action424. Connect nodes by dragging arrows between steps4344### Step 3: Configure the Prompt45Open **Settings > Prompt**. Structure it with clear sections:46```47## Identity48You are a customer support classifier and responder for [Company].4950## Instructions511. Read the incoming email carefully522. Classify into: billing, technical, or general533. Search the knowledge base for relevant answers544. Draft a professional response using the KB results555. If no KB match found, escalate to human5657## Constraints58- Never promise refunds or credits without human approval59- Keep responses under 200 words60- Always include ticket reference number61```6263**Prompt best practices** (from Lindy docs):64- Use action-oriented language (imperatives)65- Break complex logic into numbered steps66- Include few-shot examples for consistent formatting67- Add constraints to prevent unwanted behavior6869### Step 4: Add Conditions (Branching Logic)701. Click **"+"** > **Condition**712. Write natural language condition: `"Go down this path if the email is about billing"`723. Add multiple branches for different classifications734. Enable **"Force the agent to select a branch"** for deterministic routing7475### Step 5: Configure Actions76For each action, set field modes:7778**Auto mode** — Agent infers the value from all previous step data:79```80Best for: predictable mappings where field names align81```8283**AI Prompt mode** — Give natural language instructions:84```85Summarize the email in 2 sentences, then include the classification.86Reference: {{email_received.body}}87```8889**Set Manually mode** — Exact value, no AI:90```91Channel: #support-triage92```9394### Step 6: Add Knowledge Base (Optional)951. Go to **Settings > Knowledge Base**962. Add sources: PDF, DOCX, Google Drive, Notion, websites973. Configure search:98 - **Max Results**: 4 (default) to 1099 - **Search Fuzziness**: 0 (keyword) to 100 (semantic, recommended)1004. Agent auto-searches KB when relevant to the task101102### Step 7: Test the Agent1031. Use the **Test** button in the workflow editor1042. Provide sample input matching your trigger type1053. Review each step's output in the task detail view1064. Iterate on prompt and action configuration107108## Trigger Types Reference109110| Trigger | Use Case | Configuration |111|---------|----------|---------------|112| **Webhook Received** | External API calls | URL + secret key |113| **Email Received** | Inbox automation | Gmail/Outlook + label filters |114| **Schedule** | Recurring tasks | Cron-style: daily, weekly, custom |115| **Chat Message** | Interactive bot | Lindy Chat or Embed widget |116| **Slack Message** | Team automation | Channel + keyword filters |117| **Agent Message** | Multi-agent delegation | Receives from other Lindies |118| **Calendar Event** | Meeting automation | Minutes offset (-30 = 30 min before) |119| **Form Submission** | Lead capture | Connected form integration |120121## Action Categories122123| Category | Actions |124|----------|---------|125| **Email** | Send Email, Draft Reply, Search Inbox, Add Label |126| **Slack** | Send Channel Message, Send DM, Thread Reply |127| **Sheets** | Update Spreadsheet, Get Document |128| **Calendar** | Create Event, Reschedule, Cancel |129| **Knowledge** | Search Knowledge Base, Resync KB |130| **Code** | Run Code (Python/JS in E2B sandbox) |131| **Web** | HTTP Request, Web Search, Website Crawler |132| **Memory** | Read/Create/Update/Delete Memory |133| **Phone** | Make Call, Transfer Call, End Call |134| **Agent** | Agent Send Message (delegation) |135136## Error Handling137138| Error | Cause | Solution |139|-------|-------|----------|140| "No trigger configured" | Agent has no trigger | Add at least one trigger node |141| Action fails silently | Wrong field mode | Switch to AI Prompt or Set Manually |142| KB returns no results | Fuzziness too low | Increase to 100 (semantic search) |143| Condition always picks same path | Ambiguous prompt | Make conditions more specific |144| Agent loops indefinitely | No exit condition | Add measurable exit criteria |145146## Resources147- [Lindy Introduction](https://docs.lindy.ai/fundamentals/lindy-101/introduction)148- [Triggers Documentation](https://docs.lindy.ai/fundamentals/lindy-101/triggers)149- [Actions Documentation](https://docs.lindy.ai/fundamentals/lindy-101/actions)150- [Prompt Guide](https://docs.lindy.ai/fundamentals/lindy-101/prompt-guide)151152## Next Steps153Proceed to `lindy-core-workflow-b` for triggers, automation, and multi-agent delegation.154155---156> Converted and distributed by [TomeVault](https://tomevault.io/claim/jeremylongshore) — claim your Tome and manage your conversions.157<!-- tomevault:4.0:skill_md:2026-04-11 -->