[{"id": "node-greeting", "data": {"type": "message", "label": "Introduction", "config": {"type": "message", "message": "Hi! I'm calling from the customer success team. We'd love to hear about your recent experience with our service. This quick survey takes less than 2 minutes. Do you have a moment?", "waitForResponse": true}}, "type": "message", "position": {"x": 250, "y": 50}}, {"id": "node-nps-score", "data": {"type": "question", "label": "NPS Score", "config": {"type": "question", "question": "On a scale of 0 to 10, how likely are you to recommend our service to a friend or colleague?", "variableName": "nps_score", "waitForResponse": true}}, "type": "question", "position": {"x": 250, "y": 170}}, {"id": "node-ask-reason", "data": {"type": "question", "label": "Reason", "config": {"type": "question", "question": "Thank you! Could you briefly share the main reason for your score?", "variableName": "nps_reason", "waitForResponse": true}}, "type": "question", "position": {"x": 250, "y": 290}}, {"id": "node-check-promoter", "data": {"type": "condition", "label": "Check Score", "config": {"type": "condition", "condition": "The NPS score is 9 or 10 (promoter)"}}, "type": "condition", "position": {"x": 250, "y": 410}}, {"id": "node-ask-testimonial", "data": {"type": "question", "label": "Request Testimonial", "config": {"type": "question", "question": "We're so glad to hear that! Would you be willing to provide a brief testimonial we could share on our website?", "variableName": "testimonial_consent", "waitForResponse": true}}, "type": "question", "position": {"x": 450, "y": 530}}, {"id": "node-promoter-webhook", "data": {"type": "webhook", "label": "Log Promoter", "config": {"url": "https://your-crm.com/feedback", "type": "webhook", "method": "POST", "headers": {"Content-Type": "application/json"}, "payload": {"category": "promoter", "request_testimonial": true}, "description": "Log promoter feedback and testimonial request"}}, "type": "webhook", "position": {"x": 450, "y": 650}}, {"id": "node-ask-improvement", "data": {"type": "question", "label": "Improvement Ideas", "config": {"type": "question", "question": "We appreciate your honest feedback. What's one thing we could improve to make your experience better?", "variableName": "improvement_suggestion", "waitForResponse": true}}, "type": "question", "position": {"x": 50, "y": 530}}, {"id": "node-offer-callback", "data": {"type": "question", "label": "Offer Callback", "config": {"type": "question", "question": "Would you like a member of our support team to follow up with you about your concerns?", "variableName": "callback_requested", "waitForResponse": true}}, "type": "question", "position": {"x": 50, "y": 650}}, {"id": "node-detractor-webhook", "data": {"type": "webhook", "label": "Log Detractor", "config": {"url": "https://your-crm.com/feedback", "type": "webhook", "method": "POST", "headers": {"Content-Type": "application/json"}, "payload": {"category": "detractor", "priority": "high"}, "description": "Log detractor feedback for follow-up"}}, "type": "webhook", "position": {"x": 50, "y": 770}}, {"id": "node-promoter-end", "data": {"type": "end", "label": "Thank Promoter", "config": {"type": "end", "endMessage": "Thank you so much for your kind feedback and support! We truly appreciate customers like you. Have a wonderful day!"}}, "type": "end", "position": {"x": 450, "y": 770}}, {"id": "node-detractor-end", "data": {"type": "end", "label": "Thank Detractor", "config": {"type": "end", "endMessage": "Thank you for taking the time to share your feedback. We're committed to improving and will work on addressing your concerns. Have a great day!"}}, "type": "end", "position": {"x": 50, "y": 890}}]