🔗 Integrations
Kết nối AI agents với business systems.
Integration Landscape
Common Integrations
Text
1CRM:2- Salesforce3- HubSpot4- Pipedrive5- Zoho6 7Databases:8- Airtable9- Google Sheets10- Notion11- Supabase12 13Communication:14- Slack15- Microsoft Teams16- Email17- SMS18 19E-commerce:20- Shopify21- WooCommerce22- Stripe23 24Productivity:25- Google Workspace26- Microsoft 36527- CalendarsCRM Integration
HubSpot
Text
1Use cases:2- Create/update contacts3- Log conversations4- Create deals5- Trigger workflowsSetup in Make
Text
11. Add HubSpot module22. Authenticate (OAuth)33. Select action:4 - Create Contact5 - Update Contact6 - Search Records7 - Create DealAgent + HubSpot Flow
Text
1When agent captures lead info:2 31. Agent collects:4 - Name5 - Email6 - Company7 - Interest8 92. Make workflow:10 - Search existing contact11 - If exists → Update12 - If new → Create contact13 - Create deal14 - Assign to sales rep15 163. Notify sales teamSalesforce
Text
1Similar pattern:21. Connect Salesforce32. Map fields43. Create/update records54. Trigger Salesforce automationsDatabase Integration
Airtable
Text
1Perfect for:2- Storing conversation logs3- Product catalog4- FAQ database5- User preferencesSetup
Text
11. Create Airtable base22. Design tables33. Get API key44. Connect in MakeExample: Log Conversations
Text
1Airtable table: Conversations2Fields:3- conversation_id4- user_id5- channel6- messages (long text)7- sentiment8- topics (multi-select)9- resolved (checkbox)10- created_at11- updated_atWorkflow
Text
1After each conversation:2 31. Get conversation data42. Analyze sentiment53. Extract topics64. Create/update Airtable record75. Tag with categoriesGoogle Sheets
Text
1Simple integration:2- Append rows3- Update cells4- Read data5- Query data6 7Use for:8- Quick logging9- Simple databases10- Reporting11- Sharing with teamNotion
Text
1Knowledge management:2- Create pages3- Update databases4- Search content5- Link resources6 7Good for:8- Documentation9- Knowledge base source10- Task trackingExternal APIs
REST APIs
Text
1General pattern:21. HTTP module in Make32. Set URL43. Set method (GET/POST/PUT)54. Add headers (auth)65. Add body (if needed)76. Parse responseAuthentication Types
Text
1API Key:2Headers: {"X-API-Key": "your_key"}3 4Bearer Token:5Headers: {"Authorization": "Bearer token"}6 7OAuth:8- Redirect flow9- Exchange code for token10- Refresh tokens11 12Basic Auth:13Headers: {"Authorization": "Basic base64(user:pass)"}Example: Weather API
Text
1Get weather for user's city:2 31. User: "What's the weather in Hanoi?"42. Extract city: "Hanoi"53. HTTP GET: api.openweathermap.org/...?q=Hanoi64. Parse response75. Agent: "It's currently 28°C in Hanoi with clouds"Example: E-commerce API
Text
1Check order status:2 31. User: "Track order #12345"42. Extract order number53. HTTP GET: yourstore.com/api/orders/1234564. Parse: status, shipping, ETA75. Agent: "Your order shipped and arrives Tuesday"Calendar Integration
Google Calendar
Text
1Use cases:2- Check availability3- Book appointments4- Send invites5- Reschedule meetingsBooking Flow
Text
1Agent conversation:2User: "Book a meeting with sales"3Agent: "When works for you?"4User: "Tuesday afternoon"5Agent: [Checks calendar]6 "I have 2pm or 4pm available. Which do you prefer?"7User: "2pm"8Agent: [Creates event]9 "Done! Meeting booked for Tuesday 2pm.10 You'll receive a calendar invite shortly."Implementation
Text
1Make workflow:2 31. Search calendar for free slots42. Filter by business hours53. Present options to user64. On selection:7 - Create calendar event8 - Add attendees9 - Send invitations105. Confirm to userEmail Integration
Sending Emails
Text
1Triggers:2- After conversation ends3- Lead captured4- Support ticket created5- Follow-up remindersExample: Follow-up Email
Text
1After sales conversation:2 31. Conversation ends42. Extract discussed topics53. AI generates personalized email:6 "Hi [Name],7 Great chatting with you about [topic].8 As discussed, here's [relevant info].9 Let me know if you have questions!"104. Send via Gmail/SendGridEmail Parsing
Text
1Process incoming emails:2 31. Email received42. Parse content53. Classify type64. Extract key info75. Route to agent or create ticket86. Auto-respond if appropriateSlack/Teams Integration
Notifications
Text
1Alert team when:2- New lead captured3- Escalation needed4- High-value customer5- Negative sentiment detectedSlack Message
Text
1Make module: Slack - Post Message2 3Channel: #sales-leads4Message:5"🔥 New Lead!6Name: {{name}}7Company: {{company}}8Interest: {{interest}}9Score: {{score}}10<{{crm_link}}|View in CRM>"Slack Bot
Text
1Build agent in Slack:21. Create Slack app32. Configure webhooks43. Process messages in Make54. Respond in Slack6 7Use case:8- Internal support bot9- Company knowledge Q&A10- Quick data lookupsWebhook Patterns
Incoming Webhooks
Text
1Receive data from external systems:2 31. Create webhook in Make42. Get URL53. Configure in source system64. Process incoming data75. Trigger workflowsOutgoing Webhooks
Text
1Send data to external systems:2 31. Action in agent42. Make workflow triggered53. HTTP POST to external URL64. Include relevant data75. Handle responseReal-time Updates
Text
1Keep systems in sync:2 3Agent creates ticket4 ↓5Webhook to CRM6 ↓7CRM creates record8 ↓9Webhook back: record created10 ↓11Agent confirms to userData Mapping
Field Mapping
Text
1Map agent data to external fields:2 3Agent → CRM4─────────────────────────────5user_name → First Name6user_email → Email7conversation_topic → Lead Source8interest_level → Lead Status9notes → DescriptionData Transformation
Text
1Transform data formats:2 3Date: "January 5, 2026" → "2026-01-05"4Phone: "0912345678" → "+84912345678"5Currency: "1000000" → "1,000,000 VND"Error Handling
Handle Integration Errors
Text
1Common issues:2- API timeout3- Invalid data4- Authentication expired5- Rate limits6- Service down7 8Solutions:91. Retry with backoff102. Queue for later113. Fallback behavior124. Alert team135. Log for debuggingSecurity Best Practices
Security
Text
11. Use OAuth when possible22. Store keys securely (not in code)33. Use least privilege44. Encrypt sensitive data55. Audit access logs66. Rotate credentials regularly77. Use IP whitelisting88. Validate all inputsMonitoring Integrations
Health Checks
Text
1Monitor:2- API response times3- Error rates4- Data sync status5- Rate limit usageAlerts
Text
1Alert when:2- API failures3- Sync delays4- Authentication issues5- Unusual patternsBài Tập
Practice
Build Integration Flow:
- Set up Airtable for conversation logs
- Connect Google Calendar for booking
- Integrate with HubSpot (or similar CRM)
- Add Slack notifications
- Create email follow-up workflow
- Test full integration cycle
Tiếp theo: Bài 11 - Error Handling
