Skip to content
lindy-data-handling logo

Lindy Data Handling

lindy-data-handling

Data handling best practices for Lindy AI agents.

SKILL.md

Full skill instructions

Lindy Data Handling

Overview

Lindy agents process data through triggers, LLM calls, actions, knowledge bases, and memory. Data flows through Lindy's managed infrastructure with AES-256 encryption at rest and in transit. This skill covers data classification, PII handling, prompt-level data controls, and regulatory compliance.

Prerequisites

  • Understanding of data types processed by your agents
  • Knowledge of applicable regulations (GDPR, CCPA, HIPAA)
  • For HIPAA: Business Associate Agreement (BAA) with Lindy (Enterprise plan)

Lindy Data Architecture

ComponentData StorageRetention
TasksTask inputs, outputs, step dataVisible in dashboard
MemoryPersistent snippets across tasksUntil manually deleted
ContextPer-task accumulated contextTask lifetime only
Knowledge BaseUploaded files, crawled sitesUntil manually removed
IntegrationsOAuth tokens, connection dataUntil disconnected
Computer UseBrowser session, screenshots30 days after last use

Instructions

Step 1: Classify Data in Agent Workflows

Map what data each agent processes:

Data CategoryExamplesHandling
PublicProduct info, FAQs, pricingNo restrictions
InternalSales reports, meeting notesLimit to authorized agents
ConfidentialCustomer emails, CRM dataAccess controls + audit
RestrictedPII, PHI, payment dataMinimize exposure + compliance

Step 2: PII Controls in Agent Prompts

Add data handling instructions directly to agent prompts:

## Data Handling Rules
- Never include full email addresses in summaries — use "[name]@[domain]"
- Redact phone numbers in logs — show only last 4 digits
- Do not forward customer personal information to Slack channels
- When storing to spreadsheet, omit columns: email, phone, address
- If asked to share customer data externally, decline and escalate

Step 3: Knowledge Base Data Safety

Knowledge base files are searchable by the agent. Control what goes in:

DO upload:

  • Product documentation
  • FAQ articles
  • Policy documents
  • Public knowledge articles

DO NOT upload:

  • Customer databases with PII
  • Credentials or API keys
  • Internal HR documents (unless agent specifically needs them)
  • Financial records with account numbers

Resync considerations: KB auto-refreshes every 24 hours. If you upload sensitive content by mistake, remove it AND trigger a manual Resync.

Step 4: Secure Memory Usage

Agent memories persist across all future tasks. Be deliberate:

Safe memory: "Customer prefers email communication over phone"
Safe memory: "Billing questions should escalate to [email protected]"

Risky memory: "John Smith's SSN is 123-45-6789"  ← NEVER store PII in memory
Risky memory: "API key for Stripe: sk_live_xxxx"  ← NEVER store secrets

Add to agent prompt:

## Memory Rules
- Never store personally identifiable information (PII) in memory
- Never store credentials, API keys, or passwords in memory
- Memories should contain preferences, patterns, and procedures only

Step 5: Computer Use Data Isolation

If using Computer Use (browser automation):

  • Sessions persist for 30 days with saved credentials
  • Enable Incognito mode for sessions handling sensitive data
  • Use dedicated (not shared) computer assignments for sensitive agents
  • Review screenshots captured during execution for data exposure

Step 6: Integration Account Isolation

  • Authorize dedicated service accounts per agent (not personal accounts)
  • Use Gmail with a team alias, not an individual inbox
  • Create read-only database credentials where possible
  • Revoke access immediately when an agent is decommissioned

Step 7: Regulatory Compliance

GDPR (EU Data Protection):

  • Document what personal data each agent processes
  • Ensure agents only process data with valid legal basis
  • Implement data subject access/​deletion capabilities
  • Agent prompt includes "do not retain personal data beyond task completion"
  • Review Lindy's data processing agreement

CCPA (California Consumer Privacy):

  • Identify agents processing California resident data
  • Ensure opt-out mechanisms exist for data processing
  • Agent prompt prevents selling/​sharing personal information

HIPAA (Healthcare):

  • Enterprise plan with BAA in place
  • Agents only access minimum necessary PHI
  • No PHI in agent memory or knowledge base
  • Audit trail enabled for all PHI access
  • Agent prompt includes PHI handling restrictions

Step 8: Data Retention Management

Agent Prompt Addition:
## Data Retention
- Do not reference data from tasks older than 30 days
- Clear task context after each run (do not accumulate indefinitely)
- When updating memory, remove outdated entries
- Summarize customer interactions, do not store verbatim transcripts

Data Handling Checklist

  • Each agent's data classification documented
  • PII handling rules in every agent prompt
  • Knowledge base audited for sensitive content
  • Memory creation restricted (no PII, no secrets)
  • Integration accounts isolated per agent
  • Computer Use sessions set to dedicated + incognito where needed
  • Regulatory compliance requirements mapped
  • BAA in place if handling healthcare data
  • Data retention policy defined and enforced in prompts

Error Handling

IssueCauseSolution
PII in Slack channelAgent forwarded customer emailAdd "never forward PII to Slack" to prompt
Sensitive file in KBUploaded by mistakeRemove file + trigger KB resync immediately
Memory contains PIIAgent auto-created memoryDelete memory + add "never store PII" to prompt
Audit findingAgent accessing unnecessary dataRemove unused integrations from agent

Resources

Next Steps

Proceed to lindy-enterprise-rbac for access control.

More Sales & marketing skills

revops logo
Sales & marketing

revops

Design and optimize systems connecting marketing, sales, and customer success into a unified revenue engine.

53.3K 104.9K
View
lead-magnets logo
Sales & marketing

lead-magnets

Strategic planning and optimization for email capture offers and gated content.

53.3K 103.4K
View
directory-submissions logo
Sales & marketing

directory-submissions

Directory submissions: the foundation layer of distribution that passes backlinks and discovery surface area into your marketing pages.

53.3K 76.3K
View
gsap-timeline logo
Sales & marketing

gsap-timeline

Sequence and choreograph multi-step animations with precise timing control and nested timelines.

15.9K 58.4K
View
launch-strategy logo
Sales & marketing

launch-strategy

Structured framework for planning product launches, feature announcements, and go-to-market strategies.

53.3K 56.8K
View
gws-drive-upload logo
Sales & marketing

gws-drive-upload

Upload files to Google Drive with automatic MIME type detection and metadata.

31.2K 47.2K
View
ci-cd-and-automation logo
Sales & marketing

ci-cd-and-automation

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

101.4K 43.2K
View
persona-team-lead logo
Sales & marketing

persona-team-lead

Team leadership persona with standup coordination, meeting prep, task delegation, and team communication.

31.2K 29.3K
View
recipe-find-large-files logo
Sales & marketing

recipe-find-large-files

Identify large Google Drive files consuming storage quota.

31.2K 29.2K
View

Sales & marketing AI tools

KreadoAI logo
Sales & marketing

KreadoAI

Revolutionize Video Creation with AI-Generated Avatars and Voices

Paid
View
Followr logo
Sales & marketing

Followr

Social media on autopilot

Paid
View
Logodiffusion logo
Sales & marketing

Logodiffusion

Design custom logos instantly with AI.

Paid
View
I
Sales & marketing

Ideogram

Text-heavy marketing and design images

Freemium
View
Prompt Silo logo
Sales & marketing

Prompt Silo

Boost Your SEO with Content and SEO Silos

Free
View
Marketing Blocks logo
Sales & marketing

Marketing Blocks

Revolutionize Your Marketing with AI-Powered MarketingBlocks!

Paid
View
Scrip AI logo
Sales & marketing

Scrip AI

10X faster & free AI content creation for 100+ use cases

Free
View
Tribescaler logo
Sales & marketing

Tribescaler

Tribescaler | Make Your Tweets Go Viral

Paid
View