Перейти к содержанию
НОВОЕМаркетплейс и trig8n Agent: продавайте то, что создали, и получайте планы и изменения, проверенные до того, как вы их увидите. Что нового

Библиотека / Чат-боты и боты для мессенджеров

Чат-боты и боты для мессенджеров

Ответы на SMS Twilio с чат-агентом OpenAI

Когда приходит SMS Twilio, накапливает сообщения в Redis, ненадолго ждёт и позволяет агенту OpenAI с памятью отправить один объединённый ответ.

Что делает

# Lmchatopenai Workflow ## Overview Automated workflow: Lmchatopenai Workflow. This workflow integrates 13 different services: stickyNote, wait, agent, twilio, redis. It contains 19 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 19 - Node Types: 13 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - OpenAI Chat Model: lmChatOpenAi - No Operation, do nothing: noOp - Add to Messages Stack: redis - Should Continue?: if - Window Buffer Memory: memoryBufferWindow - Twilio Trigger: twilioTrigger - Get Latest Message Stack: redis - Sticky Note: stickyNote - Send Reply: twilio - Wait 5 seconds: wait - ... and 9 more nodes ## Usage Instructions 1. Configure Credentials: Set up all required API keys and credentials 2. Update Variables: Replace any placeholder values with actual data 3. Test Workflow: Run in test mode to verify functionality 4. Deploy: Activate the workflow for production use ## Security Notes - All sensitive data has been removed or replaced with placeholders - Error handling is implemented for reliability - Follow security best practices when configuring credentials ## Troubleshooting - Check error logs if workflow fails - Verify all credentials are properly configured - Ensure all required services are accessible

Шаги

  1. OpenAI Chat Model
  2. No Operation, do nothing
  3. Add to Messages Stack
  4. Should Continue?
  5. Window Buffer Memory
  6. Twilio Trigger
  7. Get Latest Message Stack
  8. Send Reply
  9. Wait 5 seconds
  10. Get Chat History
  11. Window Buffer Memory1
  12. Get Messages Buffer
  13. AI Agent
  14. Error Handler for d61d8ff3

Всего шагов: 15.

Похожие автоматизации