İçeriğe geç
YENİPazar yeri ve ekibin: geliştirdiğini sat; planlar ve değişiklikler sen görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Yapay Zekâ Ajanları ve Asistanlar

Yapay Zekâ Ajanları ve Asistanlar

Vapi sipariş durumu çağrılarını yanıtla ve geri aramaları Data Tables'a kaydet

Bir Data Table'dan Vapi sesli aramalarına sipariş durumu sorgularına yanıt verir ve geri arama isteklerini her çağrı ve araç çağrısı kimliği için bir kez kaydeder, böylece tekrarlanan istekler mevcut kaydı döndürür.

Ne yapar

## From synthetic demo to your support queue Populate the orders table with your own orderId, email, status, carrier, trackingNumber and estimatedDelivery columns. Normalize email to lowercase. Use one row per orderId/email pair. Keep table names unique in this n8n project; select your tables in the Data Table nodes when adapting names. Run the seed branch against dedicated demo tables. ## Replay behavior Callback requestKey = JSON.stringify([message.call.id, toolCall.id]). A sequential replay returns the existing row and preserves its status. Changed callback details for that key produce an explicit error. A new toolCallId creates a new request. Data Table upsert uses a transaction with update/insert. Concurrent first writes require a separately verified deployment contract; PostgreSQL UNIQUE(requestKey) is the integration path for atomic business uniqueness. ## Operational scope The supplied workflow stores an actionable callback queue for a support operator. Customer communications, store synchronization and voice-agent behavior follow your connected systems. Keep the order response fields concise and set Vapi tool timeout to suit your tested n8n endpoint latency.

Adımlar

  1. Set up demo tables
  2. Create demo orders
  3. Create callback queue
  4. Two synthetic orders
  5. Seed demo orders
  6. Setup ready
  7. Vapi webhook
  8. Split tool calls
  9. Each tool call
  10. Validate current tool
  11. Valid arguments?
  12. Argument error result
  13. Find matching order
  14. Resolve order

Toplam 24 adım.

Benzer otomasyonlar