Skip to Content
Automation TemplatesTesting Framework

Testing Framework

const generateTestPayload = (actionType) => { const testPayloads = { calendar: { action: "book_calendar", caller_name: "Test User", caller_email: "test@example.com", requested_date: "next Tuesday", requested_time: "2pm", duration: 30 }, email: { action: "send_email", recipient: "test@example.com", template: "follow_up", call_summary: "Discussed pricing and features" }, sms: { action: "send_sms", phone: "+1234567890", message: "Thank you for your call", consent: true } }; return testPayloads[actionType]; };