[{"id": "node-greeting", "data": {"type": "message", "label": "Introduction", "config": {"type": "message", "message": "Hello! This is a courtesy call from the billing department regarding your account. We noticed there's an outstanding balance. Is this a good time to discuss your payment options?", "waitForResponse": true}}, "type": "message", "position": {"x": 250, "y": 50}}, {"id": "node-verify-identity", "data": {"type": "question", "label": "Verify Identity", "config": {"type": "question", "question": "For security purposes, may I please verify the last 4 digits of your phone number on file?", "variableName": "phone_verification", "waitForResponse": true}}, "type": "question", "position": {"x": 250, "y": 170}}, {"id": "node-explain-balance", "data": {"type": "message", "label": "Balance Info", "config": {"type": "message", "message": "Thank you for confirming. According to our records, your current balance is due. Would you like to make a payment today or discuss payment options?", "waitForResponse": true}}, "type": "message", "position": {"x": 250, "y": 290}}, {"id": "node-ask-payment", "data": {"type": "question", "label": "Payment Decision", "config": {"type": "question", "question": "Would you like to pay the full balance today, set up a payment plan, or speak with a billing specialist?", "variableName": "payment_choice", "waitForResponse": true}}, "type": "question", "position": {"x": 250, "y": 410}}, {"id": "node-check-fullpay", "data": {"type": "condition", "label": "Full Payment?", "config": {"type": "condition", "condition": "The customer wants to pay the full balance today"}}, "type": "condition", "position": {"x": 250, "y": 530}}, {"id": "node-collect-payment", "data": {"type": "message", "label": "Payment Link", "config": {"type": "message", "message": "Perfect! I'll send you a secure payment link via text message right now. You can complete the payment at your convenience within the next 24 hours.", "waitForResponse": false}}, "type": "message", "position": {"x": 50, "y": 650}}, {"id": "node-send-link-webhook", "data": {"type": "webhook", "label": "Send Payment Link", "config": {"url": "https://your-billing-api.com/send-payment-link", "type": "webhook", "method": "POST", "headers": {"Content-Type": "application/json"}, "payload": {"action": "send_payment_link"}, "description": "Send secure payment link to customer"}}, "type": "webhook", "position": {"x": 50, "y": 770}}, {"id": "node-check-plan", "data": {"type": "condition", "label": "Payment Plan?", "config": {"type": "condition", "condition": "The customer wants to set up a payment plan"}}, "type": "condition", "position": {"x": 450, "y": 650}}, {"id": "node-plan-details", "data": {"type": "question", "label": "Plan Preference", "config": {"type": "question", "question": "We can split the balance into 2, 3, or 4 monthly payments. Which option works best for you?", "variableName": "payment_plan_months", "waitForResponse": true}}, "type": "question", "position": {"x": 300, "y": 770}}, {"id": "node-plan-webhook", "data": {"type": "webhook", "label": "Create Plan", "config": {"url": "https://your-billing-api.com/payment-plans", "type": "webhook", "method": "POST", "headers": {"Content-Type": "application/json"}, "payload": {"action": "create_payment_plan"}, "description": "Create payment plan in billing system"}}, "type": "webhook", "position": {"x": 300, "y": 890}}, {"id": "node-transfer-billing", "data": {"type": "transfer", "label": "Transfer to Billing", "config": {"type": "transfer", "message": "I'll connect you with a billing specialist who can help with your specific situation. Please hold.", "transferNumber": "+1234567890"}}, "type": "transfer", "position": {"x": 550, "y": 770}}, {"id": "node-end-payment", "data": {"type": "end", "label": "Payment Link Sent", "config": {"type": "end", "endMessage": "The payment link has been sent to your phone. Thank you for taking care of this. Have a great day!"}}, "type": "end", "position": {"x": 50, "y": 890}}, {"id": "node-end-plan", "data": {"type": "end", "label": "Plan Created", "config": {"type": "end", "endMessage": "Your payment plan has been set up. You'll receive confirmation details via email. Thank you for working with us!"}}, "type": "end", "position": {"x": 300, "y": 1010}}, {"id": "node-end-transfer", "data": {"type": "end", "label": "Transfer Complete", "config": {"type": "end", "endMessage": "Transferring you now. Thank you for your patience."}}, "type": "end", "position": {"x": 550, "y": 890}}]