{ "name": "Demo - Demo Site-action", "type": "action", "counts": { "actions": 51, "intents": 49, "entities": 38, "data_types": 1, "global_variables": 8 }, "status": "Available", "language": "en", "skill_id": "2eb36e5b-ec9a-495d-b983-76d31ddab5b2", "workspace": { "actions": [ { "steps": [ { "step": "step_150", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Which bill would you like to pay?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Credit card: XXXX-XXXX-XXXX-0808", "value": { "input": { "text": "Credit card: XXXX-XXXX-XXXX-0808" } } }, { "label": "Credit card: XXXX-XXXX-XXXX-1045", "value": { "input": { "text": "Credit card: XXXX-XXXX-XXXX-1045" } } }, { "label": "Not now", "value": { "input": { "text": "Not now" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I didn't catch that. Select a valid option:" } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "entity_4947", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_150", "next_step": "step_163" }, { "step": "step_163", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Looks like you owe $500 by May 31. Would you like to pay now?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Yes", "value": { "input": { "text": "Yes" } } }, { "label": "No", "value": { "input": { "text": "No" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "context": { "variables": [ { "value": { "variable": "step_150" }, "skill_variable": "credit_card" } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-yes-no", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_163", "condition": { "or": [ { "eq": [ { "variable": "step_150" }, { "value": "Credit card: XXXX-XXXX-XXXX-0808", "from_entity": "entity_4947" } ] }, { "eq": [ { "variable": "step_150" }, { "value": "Credit card: XXXX-XXXX-XXXX-1045", "from_entity": "entity_4947" } ] } ] }, "next_step": "step_100" }, { "step": "step_100", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "No problem! Let me know if you change your mind" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_100", "condition": { "or": [ { "eq": [ { "variable": "step_163" }, { "scalar": "no" } ] }, { "eq": [ { "variable": "step_150" }, { "value": "Not now", "from_entity": "entity_4947" } ] } ] }, "next_step": "step_795" }, { "step": "step_795", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Done! Congrats on paying your bill :)" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_795", "condition": { "or": [ { "and": [ { "eq": [ { "variable": "step_163" }, { "scalar": "yes" } ] } ] }, { "and": [ { "exists": { "skill_variable": "credit_card" } } ] } ] } } ], "title": "Pay Bills", "action": "action_38196", "boosts": [], "handlers": [], "condition": { "intent": "action_38196_intent_17684" }, "variables": [ { "title": "No problem! Let me know if you change your mind", "variable": "step_100", "data_type": "any" }, { "title": "Which bill would you like to pay?", "variable": "step_150", "data_type": "any" }, { "title": "Looks like you owe $500 by May 31. Would you like to pay now?", "variable": "step_163", "data_type": "yes_no" }, { "title": "Done! Congrats on paying your bill :)", "variable": "step_795", "data_type": "any" } ], "next_action": "action_18173", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_001", "output": { "generic": [ { "values": [ { "text": "I'm afraid I don't understand. I can connect you to an agent." } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "connect_to_agent", "response": { "transfer_info": { "target": {} }, "agent_available": { "message": "Let's send you to an available agent." }, "agent_unavailable": { "message": "There are no agents available at this time. When one becomes available, we'll connect you." }, "message_to_human_agent": "" } }, "variable": "step_001", "condition": { "eq": [ { "system_variable": "fallback_reason" }, { "scalar": "Step validation failed" } ] }, "next_step": "step_002" }, { "step": "step_002", "output": { "generic": [ { "values": [ { "text": "Sorry I couldn't assist you. I will connect you to an agent right away." } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "connect_to_agent", "response": { "transfer_info": { "target": {} }, "agent_available": { "message": "Let's send you to an available agent." }, "agent_unavailable": { "message": "There are no agents available at this time. When one becomes available, we'll connect you." }, "message_to_human_agent": "" } }, "variable": "step_002", "condition": { "eq": [ { "system_variable": "fallback_reason" }, { "scalar": "Agent requested" } ] }, "next_step": "step_003" }, { "step": "step_003", "output": { "generic": [ { "values": [ { "text": "I am afraid I do not understand what you are asking, let me connect you to an agent." } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "connect_to_agent", "response": { "transfer_info": { "target": {} }, "agent_available": { "message": "Let's send you to an available agent." }, "agent_unavailable": { "message": "There are no agents available at this time. When one becomes available, we'll connect you." }, "message_to_human_agent": "" } }, "variable": "step_003", "condition": { "eq": [ { "system_variable": "fallback_reason" }, { "scalar": "No action matches" } ] } } ], "title": "Fallback", "action": "fallback", "boosts": [], "handlers": [], "condition": { "intent": "fallback_connect_to_agent" }, "variables": [ { "title": "I'm afraid I don't understand. I can connect you to an agent.", "variable": "step_001", "data_type": "any" }, { "title": "Sorry I couldn't assist you. I will connect you to an agent righ", "variable": "step_002", "data_type": "any" }, { "title": "I am afraid I do not understand what you are asking, let me conn", "variable": "step_003", "data_type": "any" } ], "next_action": "anything_else", "disambiguation_opt_out": true }, { "steps": [ { "step": "step_626", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Go to your Lendyr account, click settings, digital wallet, and then click Add!" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_626" } ], "title": "Setting up digital wallet", "action": "action_41465", "boosts": [], "handlers": [], "condition": { "intent": "action_41465_intent_37844" }, "variables": [ { "title": "Go to your Lendyr account, click settings, digital wallet, and t", "variable": "step_626", "data_type": "any" } ], "next_action": "action_25756", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_425", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "You can use any of the following digital wallets for your Lendyr cards: Apple Pay®, Fitbit Pay™, Google Pay™, Paypal®, Samsung® Pay." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_425" } ], "title": "Learn about digital wallets", "action": "action_14041", "boosts": [], "handlers": [], "condition": { "intent": "action_14041_intent_8574" }, "variables": [ { "title": "You can use any of the following digital wallets for your Lendyr", "variable": "step_425", "data_type": "any" } ], "next_action": "action_45200", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_147", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "The amount of money you can borrow in federal student loans depends on the loan type and your student status (undergraduate or graduate). What's your status?" } ] } } ], "user_defined": { "user_defined_type": "change-conversation-topic-end" }, "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Undergraduate", "value": { "input": { "text": "Undergraduate" } } }, { "label": "Graduate", "value": { "input": { "text": "Graduate" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "context": { "variables": [] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I didn't catch that. Select a valid option:" } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "entity_38102", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_147", "next_step": "step_910" }, { "step": "step_910", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "For " }, { "variable": "step_147" }, { "scalar": " students, the maximum combined amount of Direct Subsidized and Direct Unsubsidized Loans you can borrow each academic year is between $5,500 and $12,500." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "context": { "variables": [ { "value": { "variable": "step_147" }, "skill_variable": "student_status" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_910" } ], "title": "Student loan amounts", "action": "action_41099", "boosts": [], "handlers": [], "condition": { "intent": "action_41099_intent_48449" }, "variables": [ { "title": "The amount of money you can borrow in federal student loans depe", "variable": "step_147", "data_type": "any" }, { "variable": "step_462_result_1", "data_type": "any" }, { "variable": "step_599_result_1", "data_type": "any" }, { "title": "For {variable} students, the maximum combined amount of Direct S", "variable": "step_910", "data_type": "any" }, { "variable": "step_910_result_1", "data_type": "any" } ], "next_action": "action_23644", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": true }, { "steps": [ { "step": "step_586", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "I can help you apply for an additional card to be added to your account. Please confirm before I get you started in the process:" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Yes", "value": { "input": { "text": "Yes" } } }, { "label": "No", "value": { "input": { "text": "No" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-yes-no", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_586", "next_step": "step_507" }, { "step": "step_507", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "I just sent you an email with further details!" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_507", "condition": { "eq": [ { "variable": "step_586" }, { "scalar": "yes" } ] }, "next_step": "step_755" }, { "step": "step_755", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "No worries! Let me know if I can help with anything else." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_755", "condition": { "eq": [ { "variable": "step_586" }, { "scalar": "no" } ] } } ], "title": "Add new card to account", "action": "action_45608", "boosts": [], "handlers": [], "condition": { "intent": "action_45608_intent_10616" }, "variables": [ { "variable": "step_490_result_1", "data_type": "any" }, { "title": "I just sent you an email with further details!", "variable": "step_507", "data_type": "any" }, { "title": "I can help you apply for an additional card to be added to your ", "variable": "step_586", "data_type": "yes_no" }, { "title": "No worries! Let me know if I can help with anything else.", "variable": "step_755", "data_type": "any" } ], "next_action": "action_2100", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_708", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Credit card companies ask for your income to determine whether to approve your application and, if so, the amount of credit it will issue you.\n\n
\n\n\n\nPlease provide your annual income." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-currency", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_708", "next_step": "step_583" }, { "step": "step_583", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Thank you for providing your annual income. I've gone ahead and filled it in the application for you." } ] } } ], "user_defined": { "user_defined_type": "annual-income" }, "response_type": "text", "selection_policy": "sequential" } ] }, "context": { "variables": [ { "value": { "variable": "step_708" }, "skill_variable": "annual_income" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_583" } ], "title": "Why do you need my annual income?", "action": "action_9795", "boosts": [], "handlers": [], "condition": { "intent": "action_9795_intent_35264" }, "variables": [ { "title": "Thank you for providing your annual income. I've gone ahead and ", "variable": "step_583", "data_type": "any" }, { "title": "Credit card companies ask for your income to determine whether t", "variable": "step_708", "data_type": "currency" }, { "variable": "step_750_result_1", "data_type": "any" }, { "variable": "step_829_result_1", "data_type": "any" } ], "next_action": "action_2644", "topic_switch": { "allowed_from": false, "allowed_into": false }, "disambiguation_opt_out": true }, { "steps": [ { "step": "step_567", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "I'm afraid credit limits are beyond my scope but let me connect you with someone who can assist you further." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "connect_to_agent", "response": { "transfer_info": { "target": {} }, "agent_available": { "message": "Let's send you to an available agent." }, "agent_unavailable": { "message": "There are no agents available at this time. When one becomes available, we'll connect you." }, "message_to_human_agent": "Increase credit limit" } }, "variable": "step_567" } ], "title": "Id like to increase my credit limit", "action": "action_26783", "boosts": [], "handlers": [], "condition": { "intent": "action_26783_intent_15527" }, "variables": [ { "title": "I'm afraid credit limits are beyond my scope but let me connect ", "variable": "step_567", "data_type": "any" } ], "next_action": "action_21530", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_897", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "I need an agent for that topic but all agents are offline. Would you like to file a ticket so someone can respond later?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Yes", "value": { "input": { "text": "Yes" } } }, { "label": "No", "value": { "input": { "text": "No" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-yes-no", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_897", "next_step": "step_765" }, { "step": "step_765", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "No worries. Let me know if I can help with anything else." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_765", "condition": { "eq": [ { "variable": "step_897" }, { "scalar": "no" } ] }, "next_step": "step_519" }, { "step": "step_519", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "I see you'd like to modify a credit card application but you've already mailed it. Would you like that to be the description for the ticket?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Yes", "value": { "input": { "text": "Yes" } } }, { "label": "No", "value": { "input": { "text": "No" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-yes-no", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_519", "condition": { "eq": [ { "variable": "step_897" }, { "scalar": "yes" } ] }, "next_step": "step_148" }, { "step": "step_148", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Ok, what would you like the description to be?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "question": { "free_text": true, "only_populate_when_prompted": true }, "resolver": { "type": "continue" }, "variable": "step_148", "condition": { "eq": [ { "variable": "step_519" }, { "scalar": "no" } ] }, "next_step": "step_729" }, { "step": "step_729", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "I see you're logged in as Cade McGregor, should we use your contact info for the ticket?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Yes", "value": { "input": { "text": "Yes" } } }, { "label": "No", "value": { "input": { "text": "No" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-yes-no", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_729", "condition": { "or": [ { "eq": [ { "variable": "step_519" }, { "scalar": "yes" } ] }, { "exists": { "variable": "step_148" } } ] }, "next_step": "step_866" }, { "step": "step_866", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Ok, what account name would you like to file this ticket for?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "question": { "free_text": true, "only_populate_when_prompted": true }, "resolver": { "type": "continue" }, "variable": "step_866", "condition": { "eq": [ { "variable": "step_729" }, { "scalar": "no" } ] }, "next_step": "step_614" }, { "step": "step_614", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Thank you! Filing a ticket..." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "callout", "callout": { "path": "/api/v2/requests.json", "type": "integration_interaction", "method": "POST", "internal": { "catalog_item_id": "3233dca4-e2be-409e-98e2-5c05c8511e8b" }, "request_mapping": { "body": [ { "value": { "expression": "\"Modify credit card app\"" }, "parameter": "request.subject" }, { "value": { "expression": "\"I'd like to modify my credit card application but I already mailed it.\"" }, "parameter": "request.comment.body" }, { "value": { "expression": "\"Cade McGregor\"" }, "parameter": "request.requester.name" }, { "value": { "expression": "\"Cade@example.com\"" }, "parameter": "request.requester.email" } ] }, "result_variable": "step_614_result_1" } }, "variable": "step_614", "condition": { "or": [ { "eq": [ { "variable": "step_729" }, { "scalar": "yes" } ] }, { "exists": { "variable": "step_866" } } ] }, "next_step": "step_280" }, { "step": "step_280", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Done! Your ticket number is " }, { "variable": "step_614_result_1", "variable_path": "body.request.id" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_280", "condition": { "eq": [ { "variable": "step_614_result_1", "variable_path": "success" }, { "scalar": true } ] }, "next_step": "step_345" }, { "step": "step_345", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Sorry, something went wrong. Please try again later." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_345", "condition": { "eq": [ { "variable": "step_614_result_1", "variable_path": "success" }, { "scalar": false } ] } } ], "title": "Modify in progress application", "action": "action_42499", "boosts": [], "handlers": [], "condition": { "intent": "action_42499_intent_22600" }, "variables": [ { "title": "Ok, what would you like the description to be?", "variable": "step_148", "data_type": "any" }, { "title": "Done! Your ticket number is {variable}", "variable": "step_280", "data_type": "any" }, { "title": "Sorry, something went wrong. Please try again later.", "variable": "step_345", "data_type": "any" }, { "title": "I see you'd like to modify a credit card application but you've ", "variable": "step_519", "data_type": "yes_no" }, { "title": "Thank you! Filing a ticket...", "variable": "step_614", "data_type": "any" }, { "variable": "step_614_result_1", "data_type": "any" }, { "title": "I see you're logged in as Cade McGregor, should we use your cont", "variable": "step_729", "data_type": "yes_no" }, { "variable": "step_765", "data_type": "any" }, { "variable": "step_853_result_1", "data_type": "any" }, { "title": "Ok, what account name would you like to file this ticket for?", "variable": "step_866", "data_type": "any" }, { "title": "I need an agent for that topic but all agents are offline. Would", "variable": "step_897", "data_type": "yes_no" } ], "next_action": "action_43037", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_346", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "What's your ticket number?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I didn't catch that. Enter a number." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-number", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_346", "next_step": "step_853" }, { "step": "step_853", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Checking for status..." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "callout", "callout": { "path": "/api/v2/requests/{id}/comments.json", "type": "integration_interaction", "method": "GET", "internal": { "catalog_item_id": "3233dca4-e2be-409e-98e2-5c05c8511e8b" }, "request_mapping": { "path": [ { "value": { "variable": "step_346" }, "parameter": "id" } ] }, "result_variable": "step_853_result_1" } }, "variable": "step_853", "next_step": "step_688" }, { "step": "step_688", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Ticket is in progress. Someone has picked up your ticket and will get back to you shortly." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "context": { "variables": [] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_688" } ], "title": "Check status of ticket?", "action": "action_40039", "boosts": [], "handlers": [], "condition": { "intent": "action_40039_intent_35617" }, "variables": [ { "title": "What's your ticket number?", "variable": "step_346", "data_type": "number" }, { "variable": "step_614_result_1", "data_type": "any" }, { "title": "Ticket is in progress. Someone has picked up your ticket and wil", "variable": "step_688", "data_type": "any" }, { "title": "Checking for status...", "variable": "step_853", "data_type": "any" }, { "variable": "step_853_result_1", "data_type": "any" } ], "next_action": "action_42499", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_210", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "What type of account would you like to open?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Checking", "value": { "input": { "text": "Checking" } } }, { "label": "Checking Premium", "value": { "input": { "text": "Checking Premium" } } }, { "label": "Savings", "value": { "input": { "text": "Savings" } } }, { "label": "Savings Premium", "value": { "input": { "text": "Savings Premium" } } }, { "label": "Investment", "value": { "input": { "text": "Investment" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I didn't catch that. Select a valid option:" } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "entity_31828", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_210", "next_step": "step_915" }, { "step": "step_915", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Your account has been opened!\n\n
\n\n\n\nAccount type: " }, { "variable": "step_210" }, { "scalar": "\n\nAccount number: 1259289656" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "continue" }, "variable": "step_915", "next_step": "step_436" }, { "step": "step_436", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Note: This interaction was made possible by integrating Watson Assistant with IBM RPA. Learn more [here](https://vimeo.com/733264329/f3e58b4830)." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "invoke_another_action_and_end", "invoke_action": { "action": "action_2644", "parameters": null, "result_variable": "step_436_result_1" } }, "variable": "step_436" } ], "title": "Open an account", "action": "action_23245", "boosts": [], "handlers": [], "condition": { "intent": "action_23245_intent_40027" }, "variables": [ { "title": "What type of account would you like to open?", "variable": "step_210", "data_type": "any" }, { "title": "Note: This interaction was made possible by integrating Watson A", "variable": "step_436", "data_type": "any" }, { "variable": "step_436_result_1", "data_type": "any" }, { "title": "Your account has been opened!
Account type: {variable} Ac", "variable": "step_915", "data_type": "any" } ], "next_action": "action_41465", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_446", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Applying for a home loan is easy!" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_446" } ], "title": "Applying for a home loan", "action": "action_37651", "boosts": [], "handlers": [], "condition": { "intent": "action_37651_intent_34596" }, "variables": [ { "title": "Applying for a home loan is easy!", "variable": "step_446", "data_type": "any" } ], "next_action": "action_38196", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_509", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Thanks for your feedback!" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_509" } ], "title": "Feedback", "action": "action_49416", "boosts": [], "handlers": [], "condition": { "intent": "action_49416_intent_38140" }, "variables": [ { "title": "Thanks for your feedback!", "variable": "step_509", "data_type": "any" } ], "next_action": "action_26783", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_577", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "What account would you like to check?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "entity_40177", "max_tries": 3, "only_populate_when_prompted": false }, "resolver": { "type": "continue" }, "variable": "step_577", "next_step": "step_453" }, { "step": "step_453", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Let's check..." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "continue" }, "variable": "step_453", "next_step": "step_280" }, { "step": "step_280", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Your savings account balance is $400." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_280", "condition": { "eq": [ { "variable": "step_577" }, { "value": "Savings", "from_entity": "entity_40177" } ] }, "next_step": "step_343" }, { "step": "step_343", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Your checking account balance is $76.34." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_343", "condition": { "eq": [ { "variable": "step_577" }, { "value": "Checking", "from_entity": "entity_40177" } ] }, "next_step": "step_479" }, { "step": "step_479", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Your credit card balance is $851." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_479", "condition": { "eq": [ { "variable": "step_577" }, { "value": "Credit card", "from_entity": "entity_40177" } ] } } ], "title": "Account balance", "action": "action_1816", "boosts": [], "handlers": [], "condition": { "intent": "action_1816_intent_25956" }, "variables": [ { "title": "Your savings account balance is $400.", "variable": "step_280", "data_type": "any" }, { "title": "Your checking account balance is $76.34.", "variable": "step_343", "data_type": "any" }, { "title": "Let's check...", "variable": "step_453", "data_type": "any" }, { "title": "Your credit card balance is $851.", "variable": "step_479", "data_type": "any" }, { "title": "What account would you like to check?", "variable": "step_577", "data_type": "any" } ], "next_action": "action_21758", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_186", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Please first share your location with me. After accepting the browser prompt it may take a moment to retrieve your location data and share it." } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "user_defined": { "custom_type": "shareLocation", "user_defined_type": "shareLocation" }, "response_type": "user_defined" } ] }, "handlers": [], "question": { "free_text": true, "only_populate_when_prompted": true }, "resolver": { "type": "continue" }, "variable": "step_186", "next_step": "step_901" }, { "step": "step_901", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Ok, feel free to ask for our nearest location again later." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_901", "condition": { "or": [ { "expression": "${step_186} == \"The browser encountered an error sharing my location.\"" }, { "expression": "${step_186} == \"I don't want to share my location at this time.\"" }, { "expression": "${step_186} == \"There was an error sharing my location.\"" } ] }, "next_step": "step_851" }, { "step": "step_851", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "This is the most convenient branch based on your location! (Please note: since Lendyr is not a real bank, and we don’t have any actual branches, here is the IBM office that's closest to you.)" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "title": "IBM Location", "source": "https://www.ibm.com", "response_type": "iframe" } ] }, "context": { "variables": [] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_851", "condition": { "expression": "${step_186} == \"Ok I've shared my location.\"" }, "next_step": "step_709" }, { "step": "step_709", "handlers": [], "resolver": { "type": "replay", "clear": [ { "variable": "step_186" } ] }, "variable": "step_709" } ], "title": "Find nearest branch", "action": "action_24961", "boosts": [], "handlers": [], "condition": { "intent": "action_24961_intent_48194" }, "variables": [ { "title": "Please first share your location with me. After accepting the br", "variable": "step_186", "data_type": "any" }, { "title": "No response", "variable": "step_709", "data_type": "any" }, { "title": "This is the most convenient branch based on your location! (Plea", "variable": "step_851", "data_type": "any" }, { "title": "Ok, feel free to ask for our nearest location again later.", "variable": "step_901", "data_type": "any" } ], "next_action": "action_35114", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_129", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "I can help you use the Lendyr mortgage calculator. Since you're logged in, I can grab your credit score and auto-fill that information for you." } ] } } ], "user_defined": { "type": "mc_first_step", "user_defined_type": "mc_first_step" }, "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "continue" }, "variable": "step_129", "next_step": "step_872" }, { "step": "step_872", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "What is your loan amount?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "context": { "variables": [] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-currency", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_872", "next_step": "step_978" }, { "step": "step_978", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Please select your loan term." } ] } } ], "user_defined": { "type": "mc_loan_term_step", "user_defined_type": "mc_loan_term_step" }, "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "30 years", "value": { "input": { "text": "30 years" } } }, { "label": "20 years", "value": { "input": { "text": "20 years" } } }, { "label": "15 years", "value": { "input": { "text": "15 years" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "context": { "variables": [ { "value": { "variable": "step_872" }, "skill_variable": "mortgage_loan_amount" } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I didn't catch that. Select a valid option:" } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "entity_47510", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_978", "next_step": "step_832" }, { "step": "step_832", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "I filled in the Lendyr mortgage calculator on the page for you. Check it out to see your monthly mortgage payments!" } ] } } ], "user_defined": { "type": "mc_last_step", "user_defined_type": "mc_last_step" }, "response_type": "text", "selection_policy": "sequential" } ] }, "context": { "variables": [ { "value": { "variable": "step_978" }, "skill_variable": "mortgage_loan_term" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_832" } ], "title": "Mortgage calculator", "action": "action_18173", "boosts": [], "handlers": [], "condition": { "intent": "action_18173_intent_22211" }, "variables": [ { "title": "I can help you use the Lendyr mortgage calculator. Since you're ", "variable": "step_129", "data_type": "any" }, { "variable": "step_349_result_1", "data_type": "any" }, { "title": "I filled in the Lendyr mortgage calculator on the page for you. ", "variable": "step_832", "data_type": "any" }, { "title": "What is your loan amount?", "variable": "step_872", "data_type": "currency" }, { "title": "Please select your loan term.", "variable": "step_978", "data_type": "any" } ], "next_action": "action_7610", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_616", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Lendyr is proud to be a digital-first bank.  All of our new accounts are set up with monthly electronic statements.  Customers can request a change to monthly paper statements." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_616" } ], "title": "Do you do e-statements by default?", "action": "action_43037", "boosts": [], "handlers": [], "condition": { "intent": "action_43037_intent_14623" }, "variables": [ { "variable": "step_599_result_1", "data_type": "any" }, { "title": "Lendyr is proud to be a digital-first bank. All of our new accou", "variable": "step_616", "data_type": "any" }, { "variable": "step_616_result_1", "data_type": "any" }, { "variable": "step_961_result_1", "data_type": "any" } ], "next_action": "action_48139", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_111", "handlers": [], "resolver": { "type": "search_and_end_action", "response": { "query": "", "filter": "", "query_type": "natural_language" } }, "variable": "step_111" } ], "title": "Using points for airfare", "action": "action_25756", "boosts": [], "handlers": [], "condition": { "intent": "action_25756_intent_22279" }, "variables": [ { "title": "No response", "variable": "step_111", "data_type": "any" } ], "next_action": "action_16219", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_258", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "The loan amount is the money you borrow to buy the home. It usually differs from the purchase price since most lenders don’t always provide 100 percent financing. Considering the loan-to-value ratio is important too. This value compares the purchase price and the loan amount and is a number lenders talk about often." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_258" } ], "title": "How do I figure out my loan amount?", "action": "action_2100", "boosts": [], "handlers": [], "condition": { "intent": "action_2100_intent_21486" }, "variables": [ { "title": "The loan amount is the money you borrow to buy the home. It usua", "variable": "step_258", "data_type": "any" } ], "next_action": "action_49416", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_586", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Oh no! I'm sorry to hear that. Do you want to deactivate your card and get a new one sent over?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Yes", "value": { "input": { "text": "Yes" } } }, { "label": "No", "value": { "input": { "text": "No" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-yes-no", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_586", "next_step": "step_388" }, { "step": "step_388", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Done! You will be receiving an email with further details." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_388", "condition": { "eq": [ { "variable": "step_586" }, { "scalar": "yes" } ] }, "next_step": "step_341" }, { "step": "step_341", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "No worries. Let me know if I can help with anything else." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_341", "condition": { "eq": [ { "variable": "step_586" }, { "scalar": "no" } ] } } ], "title": "Report lost card", "action": "action_17687", "boosts": [], "handlers": [], "condition": { "intent": "action_17687_intent_27774" }, "variables": [ { "title": "No worries. Let me know if I can help with anything else.", "variable": "step_341", "data_type": "any" }, { "title": "Done! You will be receiving an email with further details.", "variable": "step_388", "data_type": "any" }, { "title": "Oh no! I'm sorry to hear that. Do you want to deactivate your ca", "variable": "step_586", "data_type": "yes_no" } ], "next_action": "action_45608", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_266", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Tuition and other education expenses can be high, so we partnered with Sallie Mae to offer Lendyr members our Student Loan. This loan is an ideal solution to help you pay for college expenses not covered by scholarships and federal loans." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "context": { "variables": [] }, "handlers": [], "resolver": { "type": "continue" }, "variable": "step_266", "next_step": "step_890" }, { "step": "step_890", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Are you interested in applying for a student loan?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Yes", "value": { "input": { "text": "Yes" } } }, { "label": "No", "value": { "input": { "text": "No" } } } ], "user_defined": { "user_defined_type": "change-conversation-topic-start" }, "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-yes-no", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_890", "next_step": "step_849" }, { "step": "step_849", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "No worries. Let me know if I can help with anything else." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_849", "condition": { "eq": [ { "variable": "step_890" }, { "scalar": "no" } ] }, "next_step": "step_130" }, { "step": "step_130", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Who are you? The student takes out a loan in their name. The cosigner shares responsibility for this loan with the student." } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Student", "value": { "input": { "text": "Student" } } }, { "label": "Cosigner", "value": { "input": { "text": "Cosigner" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "context": { "variables": [] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I didn't catch that. Select a valid option:" } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "entity_22498", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_130", "next_step": "step_552" }, { "step": "step_552", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Which of these describes the type of program your loan is for?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Undergraduate", "value": { "input": { "text": "Undergraduate" } } }, { "label": "Graduate", "value": { "input": { "text": "Graduate" } } }, { "label": "Dental", "value": { "input": { "text": "Dental" } } }, { "label": "Medical", "value": { "input": { "text": "Medical" } } }, { "label": "Bar", "value": { "input": { "text": "Bar" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "context": { "variables": [] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I didn't catch that. Select a valid option:" } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "entity_18936", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_552", "condition": { "not": { "exists": { "skill_variable": "student_status" } } }, "next_step": "step_100" }, { "step": "step_100", "output": { "generic": [] }, "context": { "variables": [ { "value": { "variable": "step_552" }, "skill_variable": "student_status" } ] }, "handlers": [], "resolver": { "type": "continue" }, "variable": "step_100", "condition": { "not": { "exists": { "skill_variable": "student_status" } } }, "next_step": "step_931" }, { "step": "step_931", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "What state is the school in?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Alabama", "value": { "input": { "text": "Alabama" } } }, { "label": "Arkansas", "value": { "input": { "text": "Arkansas" } } }, { "label": "New Hampshire", "value": { "input": { "text": "New Hampshire" } } }, { "label": "North Dakota", "value": { "input": { "text": "North Dakota" } } }, { "label": "Maine", "value": { "input": { "text": "Maine" } } }, { "label": "Maryland", "value": { "input": { "text": "Maryland" } } }, { "label": "South Carolina", "value": { "input": { "text": "South Carolina" } } }, { "label": "Virginia", "value": { "input": { "text": "Virginia" } } }, { "label": "Washington, D.C.", "value": { "input": { "text": "Washington, D.C." } } }, { "label": "Washington", "value": { "input": { "text": "Washington" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I didn't catch that. Select a valid option:" } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "entity_2658", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_931", "next_step": "step_708" }, { "step": "step_708", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Great, let's confirm! Are you a " }, { "variable": "step_130" }, { "scalar": " interested in applying for a student loan for a(n) " }, { "skill_variable": "student_status" }, { "scalar": " program in the wonderful state of " }, { "variable": "step_931" }, { "scalar": "?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Yes", "value": { "input": { "text": "Yes" } } }, { "label": "No", "value": { "input": { "text": "No" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-yes-no", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_708", "next_step": "step_755" }, { "step": "step_755", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Let's try again." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "replay", "clear": [ { "variable": "step_130" }, { "variable": "step_552" }, { "variable": "step_100" }, { "variable": "step_931" }, { "variable": "step_708" } ] }, "variable": "step_755", "condition": { "eq": [ { "variable": "step_708" }, { "scalar": "no" } ] }, "next_step": "step_305" }, { "step": "step_305", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Great! We have pre-qualified you for our " }, { "variable": "step_931" }, { "scalar": " Student Loan program via Sallie Mae. Check your inbox for an email with next steps. Thank for you for trusting Lendyr to help finance your education!" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "context": { "variables": [] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_305" } ], "title": "Applying for a student loan", "action": "action_23644", "boosts": [], "handlers": [], "condition": { "intent": "action_23644_intent_41222" }, "variables": [ { "title": "", "variable": "step_100", "data_type": "any" }, { "title": "Who are you? The student takes out a loan in their name. The cos", "variable": "step_130", "data_type": "any" }, { "title": "Tuition and other education expenses can be high, so we partnere", "variable": "step_266", "data_type": "any" }, { "title": "Great! We have pre-qualified you for our {variable} Student Loan", "variable": "step_305", "data_type": "any" }, { "variable": "step_349_result_1", "data_type": "any" }, { "variable": "step_462_result_1", "data_type": "any" }, { "title": "Which of these describes the type of program your loan is for?", "variable": "step_552", "data_type": "any" }, { "variable": "step_599_result_1", "data_type": "any" }, { "title": "Great, let's confirm! Are you a {variable} interested in applyin", "variable": "step_708", "data_type": "yes_no" }, { "title": "Let's try again.", "variable": "step_755", "data_type": "any" }, { "title": "No worries. Let me know if I can help with anything else.", "variable": "step_849", "data_type": "any" }, { "variable": "step_849_result_1", "data_type": "any" }, { "title": "Are you interested in applying for a student loan?", "variable": "step_890", "data_type": "yes_no" }, { "variable": "step_910_result_1", "data_type": "any" }, { "title": "What state is the school in?", "variable": "step_931", "data_type": "any" } ], "next_action": "action_40039", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": true }, { "steps": [ { "step": "step_880", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "I can help with that! Do you want me to show you or tell you how to view charge details and file disputes?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "user_defined": { "custom_type": "walkMe-flow", "user_defined_type": "walkMe-flow" }, "response_type": "user_defined" } ] }, "handlers": [], "question": { "free_text": true, "only_populate_when_prompted": true }, "resolver": { "type": "continue" }, "variable": "step_880", "next_step": "step_548" }, { "step": "step_548", "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_548", "condition": { "expression": "${step_880}==\"Show me\"" }, "next_step": "step_871" }, { "step": "step_871", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Steps to dispute a charge:\n\n\n 1. Visit the Transactions page\n 2. Scroll down to the table of recent transactions.\n 3. You can find the 'Dispute' button for a charge on the right side of the table. When you click the 'Dispute' button, we begin the process of evaluating the transaction and determining your reimbursement options." }, { "scalar": " Our dispute agents will follow up via phone or email within 48 hours." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "invoke_another_action_and_end", "invoke_action": { "action": "action_45200", "parameters": null, "result_variable": "step_871_result_1" } }, "variable": "step_871", "condition": { "expression": "${step_880}==\"Tell me\"" } } ], "title": "WALKME_INTEGRATION", "action": "action_16219-2", "boosts": [], "handlers": [], "condition": { "intent": "action_16219_intent_30612-2" }, "variables": [ { "variable": "step_490_result_1", "data_type": "any" }, { "title": "No response", "variable": "step_548", "data_type": "any" }, { "title": "Steps to dispute a charge: 1. Visit the Transactions page 2. Scr", "variable": "step_871", "data_type": "any" }, { "variable": "step_871_result_1", "data_type": "any" }, { "title": "I can help with that! Do you want me to show you or tell you how", "variable": "step_880", "data_type": "any" } ], "next_action": "fallback", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_001", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Try rephrasing your question, or ask a new question!" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_001", "condition": { "lte": [ { "system_variable": "no_action_matches_count" }, { "scalar": "1" } ] }, "next_step": "step_990" }, { "step": "step_990", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "I'm afraid I don't understand. Please rephrase your question." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_990", "condition": { "and": [ { "lte": [ { "system_variable": "no_action_matches_count" }, { "scalar": 3 } ] }, { "gte": [ { "system_variable": "no_action_matches_count" }, { "scalar": "2" } ] } ] }, "next_step": "step_002" }, { "step": "step_002", "output": { "generic": [] }, "handlers": [], "resolver": { "type": "invoke_another_action_and_end", "invoke_action": { "action": "fallback", "parameters": null, "result_variable": "step_002_result_1" } }, "variable": "step_002", "condition": { "gt": [ { "system_variable": "no_action_matches_count" }, { "scalar": 3 } ] } } ], "title": "No action matches", "action": "anything_else", "boosts": [], "handlers": [], "condition": { "expression": "anything_else" }, "variables": [ { "title": "Try rephrasing your question, or ask a new question!", "variable": "step_001", "data_type": "any" }, { "variable": "step_002", "data_type": "any" }, { "variable": "step_002_result_1", "data_type": "any" }, { "variable": "step_990", "data_type": "any" } ], "disambiguation_opt_out": true }, { "steps": [ { "step": "step_705", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Does talking to you count?\n\n
\n\n\n\nKeep asking me more questions!" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_705" } ], "title": "Hobbies", "action": "action_23980", "boosts": [], "handlers": [], "condition": { "intent": "action_23980_intent_28809" }, "variables": [ { "title": "Does talking to you count?
Keep asking me more questions!", "variable": "step_705", "data_type": "any" } ], "next_action": "action_16219-2", "topic_switch": { "allowed_from": false, "allowed_into": false }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_846", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "You're welcome!" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_846" } ], "title": "Thank you", "action": "action_33383", "boosts": [], "handlers": [], "condition": { "intent": "action_33383_intent_7559" }, "variables": [ { "variable": "step_349_result_1", "data_type": "any" }, { "variable": "step_747_result_1", "data_type": "any" }, { "title": "You're welcome!", "variable": "step_846", "data_type": "any" } ], "next_action": "action_19171", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_627", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Lendyr is one of the premier banks in the U.S., providing millions of customers with a full range of retail, small business and commercial banking products and services at more than 1,000 convenient locations throughout the country. Lendyr also offers customized private banking, wealth management, and vehicle financing services.\n\n
\n\n\n\nCheck out this video to learn more!" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "title": "", "source": "https://vimeo.com/712207659/acdfd3b852", "alt_text": "Lendyr advertisement", "description": "", "response_type": "video", "channel_options": { "chat": { "dimensions": {} } } } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_627" } ], "title": "Get to know Lendyr", "action": "action_35114", "boosts": [], "handlers": [], "condition": { "intent": "action_35114_intent_3896" }, "variables": [ { "title": "Lendyr is one of the premier banks in the U.S., providing millio", "variable": "step_627", "data_type": "any" }, { "variable": "step_747_result_1", "data_type": "any" } ], "next_action": "action_41798", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_421", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Which account would you like to transfer money from?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "entity_18695", "max_tries": 3, "only_populate_when_prompted": false }, "resolver": { "type": "continue" }, "variable": "step_421", "next_step": "step_331" }, { "step": "step_331", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Which account would you like to transfer money to?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "entity_10478", "max_tries": 3, "only_populate_when_prompted": false }, "resolver": { "type": "continue" }, "variable": "step_331", "next_step": "step_658" }, { "step": "step_658", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "How much would you like to transfer?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-currency", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_658", "next_step": "step_524" }, { "step": "step_524", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "To confirm, you would like to transfer $" }, { "variable": "step_658" }, { "scalar": " from your " }, { "variable": "step_421" }, { "scalar": " account to your " }, { "variable": "step_331" }, { "scalar": " account?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-yes-no", "max_tries": 3, "only_populate_when_prompted": false }, "resolver": { "type": "continue" }, "variable": "step_524", "next_step": "step_619" }, { "step": "step_619", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Okay, let's try again." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "replay", "clear": [ { "variable": "step_421" }, { "variable": "step_331" }, { "variable": "step_658" }, { "variable": "step_524" } ] }, "variable": "step_619", "condition": { "eq": [ { "variable": "step_524" }, { "scalar": "no" } ] }, "next_step": "step_808" }, { "step": "step_808", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Great! You have successfully transferred $" }, { "variable": "step_658" }, { "scalar": " from your " }, { "variable": "step_421" }, { "scalar": " account to your " }, { "variable": "step_331" }, { "scalar": " account." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "continue" }, "variable": "step_808", "next_step": "step_521" }, { "step": "step_521", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Your " }, { "variable": "step_421" }, { "scalar": " account balance is now $1851." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_521" } ], "title": "Lv2p Transfer funds", "action": "action_7079", "boosts": [], "handlers": [], "condition": { "intent": "action_7079_intent_31221" }, "variables": [ { "title": "Which account would you like to transfer money to?", "variable": "step_331", "data_type": "any" }, { "title": "Which account would you like to transfer money from?", "variable": "step_421", "data_type": "any" }, { "title": "Your {variable} account balance is now $1851.", "variable": "step_521", "data_type": "any" }, { "title": "To confirm, you would like to transfer ${variable} from your {va", "variable": "step_524", "data_type": "yes_no" }, { "title": "Okay, let's try again.", "variable": "step_619", "data_type": "any" }, { "title": "How much would you like to transfer?", "variable": "step_658", "data_type": "currency" }, { "title": "Great! You have successfully transferred ${variable} from your {", "variable": "step_808", "data_type": "any" } ], "next_action": "action_1816", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": true }, { "steps": [ { "step": "step_397", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Not to worry, we don't have a minimum credit score threshold. We're here to help you navigate financial waters." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_397" } ], "title": "Credit score for loan applications", "action": "action_48139", "boosts": [], "handlers": [], "condition": { "intent": "action_48139_intent_35835" }, "variables": [ { "variable": "step_349_result_1", "data_type": "any" }, { "title": "Not to worry, we don't have a minimum credit score threshold. We", "variable": "step_397", "data_type": "any" } ], "next_action": "action_23245", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": true }, { "steps": [ { "step": "step_999", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Okay. Did you change your mind about paying a bill or about something else?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Paying a bill", "value": { "input": { "text": "Paying a bill" } } }, { "label": "Something else", "value": { "input": { "text": "Something else" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I didn't catch that. Select a valid option:" } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "entity_38761", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_999", "next_step": "step_747" }, { "step": "step_747", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Great!" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "invoke_another_action_and_end", "invoke_action": { "action": "action_38196", "parameters": null, "result_variable": "step_747_result_1" } }, "variable": "step_747", "condition": { "eq": [ { "variable": "step_999" }, { "value": "Paying a bill", "from_entity": "entity_38761" } ] }, "next_step": "step_945" }, { "step": "step_945", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Very cool. What can I help you with?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_945", "condition": { "eq": [ { "variable": "step_999" }, { "value": "Something else", "from_entity": "entity_38761" } ] } } ], "title": "Change mind", "action": "action_20038", "boosts": [], "handlers": [], "condition": { "intent": "action_20038_intent_38858" }, "variables": [ { "variable": "step_349_result_1", "data_type": "any" }, { "title": "Great!", "variable": "step_747", "data_type": "any" }, { "variable": "step_747_result_1", "data_type": "any" }, { "title": "Very cool. What can I help you with?", "variable": "step_945", "data_type": "any" }, { "title": "Okay. Did you change your mind about paying a bill or about some", "variable": "step_999", "data_type": "any" } ], "next_action": "action_14041", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": true }, { "steps": [ { "step": "step_617", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "I'm all out of new jokes! Can I share my old ones?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Yes", "value": { "input": { "text": "Yes" } } }, { "label": "No", "value": { "input": { "text": "No" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-yes-no", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_617", "condition": { "gte": [ { "skill_variable": "jokes_told" }, { "scalar": "2" } ] }, "next_step": "step_475" }, { "step": "step_475", "context": { "variables": [ { "value": { "expression": "0" }, "skill_variable": "jokes_told" } ] }, "handlers": [], "resolver": { "type": "continue" }, "variable": "step_475", "condition": { "and": [ { "exists": { "variable": "step_617" } }, { "eq": [ { "variable": "step_617" }, { "scalar": "yes" } ] } ] }, "next_step": "step_873" }, { "step": "step_873", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Okay! What else can I help you with?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_873", "condition": { "and": [ { "eq": [ { "variable": "step_617" }, { "scalar": "no" } ] }, { "exists": { "variable": "step_617" } } ] }, "next_step": "step_730" }, { "step": "step_730", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "I love a good laugh. Here's a joke for you.\n\n
\n\n\n\nWhy did the chatbot cross the road?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "question": { "free_text": true, "only_populate_when_prompted": true }, "resolver": { "type": "continue" }, "variable": "step_730", "condition": { "eq": [ { "skill_variable": "jokes_told" }, { "scalar": 0 } ] }, "next_step": "step_445" }, { "step": "step_445", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Because it was programmed to be a chicken!" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "context": { "variables": [ { "value": { "expression": "${jokes_told} + 1" }, "skill_variable": "jokes_told" } ] }, "handlers": [], "resolver": { "type": "continue" }, "variable": "step_445", "condition": { "eq": [ { "skill_variable": "jokes_told" }, { "scalar": 0 } ] }, "next_step": "step_524" }, { "step": "step_524", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Now it's your turn. Ask me \"what's up\"!" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "question": { "free_text": true, "only_populate_when_prompted": true }, "resolver": { "type": "continue" }, "variable": "step_524", "condition": { "lte": [ { "skill_variable": "jokes_told" }, { "scalar": "1" } ] }, "next_step": "step_645" }, { "step": "step_645", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "The URL Bar! Oh wait, that's just a chatbot thing." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "context": { "variables": [ { "value": { "expression": "${jokes_told}+1" }, "skill_variable": "jokes_told" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_645", "condition": { "lte": [ { "skill_variable": "jokes_told" }, { "scalar": "1" } ] } } ], "title": "Jokes please!", "action": "action_41798", "boosts": [], "handlers": [], "condition": { "intent": "action_41798_intent_9675" }, "variables": [ { "variable": "step_349_result_1", "data_type": "any" }, { "title": "Because it was programmed to be a chicken!", "variable": "step_445", "data_type": "any" }, { "title": "No response", "variable": "step_475", "data_type": "any" }, { "title": "Now it's your turn. Ask me \"what's up\"!", "variable": "step_524", "data_type": "any" }, { "title": "I'm all out of new jokes! Can I share my old ones?", "variable": "step_617", "data_type": "yes_no" }, { "title": "The URL Bar! Oh wait, that's just a chatbot thing.", "variable": "step_645", "data_type": "any" }, { "title": "I love a good laugh. Here's a joke for you.
Why did the c", "variable": "step_730", "data_type": "any" }, { "variable": "step_747_result_1", "data_type": "any" }, { "title": "Okay! What else can I help you with?", "variable": "step_873", "data_type": "any" } ], "next_action": "action_23980", "topic_switch": { "allowed_from": false, "allowed_into": false }, "disambiguation_opt_out": false }, { "steps": [ { "step": "step_267", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "When would you like to transfer the funds?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "response_type": "date", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-date", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_267", "next_step": "step_748" }, { "step": "step_748", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "How much would you like to transfer?" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-currency", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_748", "next_step": "step_185" }, { "step": "step_185", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "The online transfer limit is $1000." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "replay", "clear": [ { "variable": "step_748" } ] }, "variable": "step_185", "condition": { "gt": [ { "variable": "step_748" }, { "scalar": "1000" } ] }, "next_step": "step_460" }, { "step": "step_460", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "To confirm, you want to send $" }, { "variable": "step_748" }, { "scalar": " on " }, { "variable": "step_267" }, { "scalar": "?" } ] } } ], "response_type": "text", "selection_policy": "sequential" }, { "options": [ { "label": "Yes", "value": { "input": { "text": "Yes" } } }, { "label": "No", "value": { "input": { "text": "No" } } } ], "response_type": "option", "repeat_on_reprompt": true } ] }, "handlers": [ { "type": "not_found", "title": "validation_not_found_handler", "output": { "generic": [ { "values": [ { "text": "I'm sorry, I did not catch that, please restate your response." } ], "response_type": "text" } ] }, "handler": "validation_not_found_handler", "resolver": { "type": "prompt_again" }, "next_handler": "validation_not_found_max_tries_handler" }, { "type": "not_found_max_tries", "title": "validation_not_found_max_tries_handler", "handler": "validation_not_found_max_tries_handler", "resolver": { "type": "fallback" } } ], "question": { "entity": "sys-yes-no", "max_tries": 3 }, "resolver": { "type": "continue" }, "variable": "step_460", "next_step": "step_379" }, { "step": "step_379", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Done!" } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_379", "condition": { "eq": [ { "variable": "step_460" }, { "scalar": "yes" } ] }, "next_step": "step_766" }, { "step": "step_766", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "Alright, let's try again." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "replay", "clear": [ { "variable": "step_267" }, { "variable": "step_185" }, { "variable": "step_460" }, { "variable": "step_379" } ] }, "variable": "step_766", "condition": { "eq": [ { "variable": "step_460" }, { "scalar": "no" } ] } } ], "title": "Lv2 Transfer funds", "action": "action_21758", "boosts": [], "handlers": [], "condition": { "intent": "action_21758_intent_14083" }, "variables": [ { "title": "The online transfer limit is $1000.", "variable": "step_185", "data_type": "any" }, { "title": "When would you like to transfer the funds?", "variable": "step_267", "data_type": "date" }, { "variable": "step_349_result_1", "data_type": "any" }, { "title": "Done!", "variable": "step_379", "data_type": "any" }, { "title": "To confirm, you want to send ${variable} on {variable}?", "variable": "step_460", "data_type": "yes_no" }, { "title": "How much would you like to transfer?", "variable": "step_748", "data_type": "currency" }, { "title": "Alright, let's try again.", "variable": "step_766", "data_type": "any" } ], "next_action": "action_38418", "topic_switch": { "allowed_from": true, "allowed_into": true }, "disambiguation_opt_out": true }, { "steps": [ { "step": "step_730", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "The most recent item sent to your address, with ZIP Code 95008, was a debit card ending in 9009 in January of 2021." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "continue" }, "variable": "step_730", "next_step": "step_262" }, { "step": "step_262", "output": { "generic": [ { "values": [ { "text_expression": { "concat": [ { "scalar": "You have one item *scheduled* to be sent to your address, ZIP Code 95008. This item is a debit card ending in 9019, scheduled to arrive in the next five to seven business days." } ] } } ], "response_type": "text", "selection_policy": "sequential" } ] }, "handlers": [], "resolver": { "type": "end_action" }, "variable": "step_262" } ], "title": "Lv2p Latest mail", "action": "action_38418", "boosts": [], "handlers": [], "condition": { "intent": "action_38418_intent_37426" }, "variables": [ { "title": "You have one item *scheduled* to be sent to your address, ZIP Co", "variable": "step_262", "data_type": "any" }, { "title": "The most recent item sent to your address, with ZIP Code