[{"id": "node-greeting", "data": {"type": "message", "label": "Welcome", "config": {"type": "message", "message": "Hello! Welcome to our ordering service. I'm here to help you place an order today. Let me collect a few details to process your order.", "waitForResponse": false}}, "type": "message", "position": {"x": 250, "y": 50}}, {"id": "node-ask-product", "data": {"type": "question", "label": "Product Name", "config": {"type": "question", "question": "What product would you like to order?", "variableName": "product_name", "waitForResponse": true}}, "type": "question", "position": {"x": 250, "y": 170}}, {"id": "node-ask-quantity", "data": {"type": "question", "label": "Quantity", "config": {"type": "question", "question": "How many units would you like to order?", "variableName": "quantity", "waitForResponse": true}}, "type": "question", "position": {"x": 250, "y": 290}}, {"id": "node-ask-address", "data": {"type": "question", "label": "Delivery Address", "config": {"type": "question", "question": "What is your delivery address including city and zip code?", "variableName": "delivery_address", "waitForResponse": true}}, "type": "question", "position": {"x": 250, "y": 410}}, {"id": "node-ask-email", "data": {"type": "question", "label": "Email Address", "config": {"type": "question", "question": "What email address should we send the order confirmation to?", "variableName": "customer_email", "waitForResponse": true}}, "type": "question", "position": {"x": 250, "y": 530}}, {"id": "node-processing", "data": {"type": "message", "label": "Processing", "config": {"type": "message", "message": "Thank you! I'm now processing your order. Please hold for just a moment.", "waitForResponse": false}}, "type": "message", "position": {"x": 250, "y": 650}}, {"id": "node-submit-order", "data": {"type": "webhook", "label": "Submit Order", "config": {"url": "https://your-order-api.com/orders", "type": "webhook", "method": "POST", "headers": {"X-API-Key": "your-api-key", "Content-Type": "application/json"}, "payload": {"source": "phone_order"}, "description": "Submit order to backend. Automatically includes caller_phone, product, quantity, address, email, and conversation data."}}, "type": "webhook", "position": {"x": 250, "y": 770}}, {"id": "node-confirmation", "data": {"type": "message", "label": "Confirmation", "config": {"type": "message", "message": "Great news! Your order has been successfully submitted. You will receive a confirmation email shortly with your order details and tracking information.", "waitForResponse": false}}, "type": "message", "position": {"x": 250, "y": 890}}, {"id": "node-end", "data": {"type": "end", "label": "Goodbye", "config": {"type": "end", "endMessage": "Thank you for your order! Is there anything else I can help you with today? If not, have a wonderful day!"}}, "type": "end", "position": {"x": 250, "y": 1010}}]