{
    "service_id": "amazon-user-account-linking-example",
    "convo_service_version": 34,
    "packages": [
        "convo-core",
        "convo-alexa"
    ],
    "contexts": [],
    "variables": {
        "APP_NAME": "Hello World"
    },
    "preview_variables": [],
    "entities": [],
    "intents": [
        {
            "name": "MyTestIntent",
            "utterances": [
                {
                    "raw": "world",
                    "model": [
                        {
                            "text": "world"
                        }
                    ]
                },
                {
                    "raw": "hello",
                    "model": [
                        {
                            "text": "hello"
                        }
                    ]
                },
                {
                    "raw": "hello world",
                    "model": [
                        {
                            "text": "hello world"
                        }
                    ]
                }
            ],
            "type": "custom"
        }
    ],
    "blocks": [
        {
            "class": "\\Convo\\Pckg\\Core\\Elements\\ConversationBlock",
            "namespace": "convo-core",
            "properties": {
                "block_id": "home",
                "role": "conversation_block",
                "name": "Home",
                "elements": [
                    {
                        "class": "\\Convo\\Pckg\\Core\\Elements\\RunOnceElement",
                        "namespace": "convo-core",
                        "properties": {
                            "scope_type": "session",
                            "name": null,
                            "child": [
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "type": "default",
                                        "alexa_domain": "normal",
                                        "alexa_emotion": "neutral",
                                        "alexa_emotion_intensity": "medium",
                                        "text": "Welcome to ${APP_NAME}",
                                        "append": false,
                                        "_component_id": "9613c12f-d3b6-264c-b397-c1dff1b4e0f5"
                                    }
                                },
                                {
                                    "class": "\\Convo\\Pckg\\Alexa\\Elements\\GetAmazonUserElement",
                                    "namespace": "convo-alexa",
                                    "properties": {
                                        "initialized_user_var": "user",
                                        "_component_id": "mr9vd190-zu4m-5zjy-ibjo-zbz2vb0rvixy"
                                    }
                                }
                            ],
                            "else": [],
                            "_component_id": "mjdal9vs-cc2x-xfxo-wsdf-ydlinwtvmayo"
                        }
                    },
                    {
                        "class": "\\Convo\\Pckg\\Core\\Elements\\IfElement",
                        "namespace": "convo-core",
                        "properties": {
                            "test": "${user}",
                            "then": [
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "type": "default",
                                        "text": "Hi ${user.name}, your associated email address is ${user.email}.",
                                        "append": false,
                                        "alexa_domain": "normal",
                                        "alexa_emotion": "neutral",
                                        "alexa_emotion_intensity": "medium",
                                        "_component_id": "yuqywvls-tnpt-jajo-rvgl-kk6iyci0ljje"
                                    }
                                }
                            ],
                            "else_if": [],
                            "else": [
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "type": "default",
                                        "text": "Hi.",
                                        "append": false,
                                        "alexa_domain": "normal",
                                        "alexa_emotion": "neutral",
                                        "alexa_emotion_intensity": "medium",
                                        "_component_id": "yiq8lmjx-bgb8-gtcv-wvag-fxccjxh9xdlv"
                                    }
                                }
                            ],
                            "_component_id": "covuhfmf-8im0-8hz6-zq6y-lskqtgrykymp"
                        }
                    },
                    {
                        "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                        "namespace": "convo-core",
                        "properties": {
                            "type": "default",
                            "text": "Say hello world",
                            "append": false,
                            "alexa_domain": "normal",
                            "alexa_emotion": "neutral",
                            "alexa_emotion_intensity": "medium",
                            "_component_id": "ckwlf6vl-g9j5-q622-dusf-srbrbiwbsmz4"
                        }
                    }
                ],
                "processors": [
                    {
                        "class": "\\Convo\\Pckg\\Core\\Processors\\SimpleProcessor",
                        "namespace": "convo-core",
                        "properties": {
                            "name": null,
                            "ok": [
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "type": "default",
                                        "text": "Great! It works. You can try again.",
                                        "append": false,
                                        "alexa_domain": "normal",
                                        "alexa_emotion": "neutral",
                                        "alexa_emotion_intensity": "medium",
                                        "_component_id": "yspgncqa-iich-xiiz-jvxo-m5ptf21a9wew"
                                    }
                                }
                            ],
                            "request_filters": [
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Filters\\IntentRequestFilter",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "name": null,
                                        "readers": [
                                            {
                                                "class": "\\Convo\\Pckg\\Core\\Filters\\ConvoIntentReader",
                                                "namespace": "convo-core",
                                                "properties": {
                                                    "intent": "MyTestIntent",
                                                    "required_slots": "",
                                                    "values": [],
                                                    "rename": [],
                                                    "_component_id": "5vlnedjh-2e4p-hxaw-6bog-diy0hoz6f0jw"
                                                }
                                            }
                                        ],
                                        "_component_id": "elyk3pil-sbag-izpu-vonr-lrqi5iljobhq"
                                    }
                                }
                            ],
                            "_component_id": "1vnba2xz-dmkt-j49y-8skf-binapkyrw1gh"
                        }
                    }
                ],
                "fallback": [
                    {
                        "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                        "namespace": "convo-core",
                        "properties": {
                            "type": "default",
                            "text": "Sorry I didn't understand that. Say hello world.",
                            "append": false,
                            "alexa_domain": "normal",
                            "alexa_emotion": "neutral",
                            "alexa_emotion_intensity": "medium",
                            "_component_id": "exae1dwl-s9vj-lb3o-oehv-izwdpg4y2wu0"
                        }
                    }
                ],
                "_component_id": "a9c37039-1091-ea3b-07e9-cfdf98c0ab7a"
            }
        },
        {
            "class": "\\Convo\\Pckg\\Core\\Elements\\ConversationBlock",
            "namespace": "convo-core",
            "properties": {
                "role": "service_processors",
                "block_id": "Service_processors",
                "name": "Service processors",
                "elements": [],
                "processors": [
                    {
                        "class": "\\Convo\\Pckg\\Core\\Processors\\SimpleProcessor",
                        "namespace": "convo-core",
                        "properties": {
                            "name": "Help",
                            "ok": [
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "type": "default",
                                        "text": "This is a basic service template. Change this help message according to your needs.",
                                        "append": false,
                                        "alexa_domain": "normal",
                                        "alexa_emotion": "neutral",
                                        "alexa_emotion_intensity": "medium",
                                        "_component_id": "kempfr3d-eybi-qwom-gyx4-rmgjwrujwpdg"
                                    }
                                },
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Elements\\ReadBlockAgainElement",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "_component_id": "yas8ojzi-digi-odx3-fpgc-blbuu2e8r5bs"
                                    }
                                }
                            ],
                            "request_filters": [
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Filters\\IntentRequestFilter",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "name": null,
                                        "readers": [
                                            {
                                                "class": "\\Convo\\Pckg\\Core\\Filters\\ConvoIntentReader",
                                                "namespace": "convo-core",
                                                "properties": {
                                                    "intent": "convo-core.HelpIntent",
                                                    "required_slots": "",
                                                    "values": [],
                                                    "rename": [],
                                                    "_component_id": "nsakyzgx-qnrr-zzjs-pgkz-zafpofzga95c"
                                                }
                                            }
                                        ],
                                        "_component_id": "jlyzbfsg-b0jt-mse5-jl4o-wbfhvy1ybekq"
                                    }
                                }
                            ],
                            "_component_id": "p5imjcui-i83r-ix8j-rouw-67urdwavodxl"
                        }
                    },
                    {
                        "class": "\\Convo\\Pckg\\Core\\Processors\\SimpleProcessor",
                        "namespace": "convo-core",
                        "properties": {
                            "name": "Navigate home",
                            "ok": [
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Elements\\GoToElement",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "value": "home",
                                        "next": false,
                                        "_component_id": "em6lozzu-zxxa-fx5z-cskg-vx5q8tq311da"
                                    }
                                }
                            ],
                            "request_filters": [
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Filters\\IntentRequestFilter",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "name": null,
                                        "readers": [
                                            {
                                                "class": "\\Convo\\Pckg\\Core\\Filters\\ConvoIntentReader",
                                                "namespace": "convo-core",
                                                "properties": {
                                                    "intent": "convo-core.StartOverIntent",
                                                    "required_slots": "",
                                                    "values": [],
                                                    "rename": [],
                                                    "_component_id": "lfv4cpir-abas-3m90-ijgz-oy5lp7hshd9w"
                                                }
                                            },
                                            {
                                                "class": "\\Convo\\Pckg\\Core\\Filters\\ConvoIntentReader",
                                                "namespace": "convo-core",
                                                "properties": {
                                                    "intent": "convo-core.NavigateHomeIntent",
                                                    "required_slots": "",
                                                    "values": [],
                                                    "rename": [],
                                                    "_component_id": "j7k6i8qb-51go-czjv-kgwa-xeoz55kqsjat"
                                                }
                                            }
                                        ],
                                        "_component_id": "sraqfo8o-6rao-kbeu-pgpf-n4mbj9dsrtdf"
                                    }
                                }
                            ],
                            "_component_id": "3sqpsyrs-rum5-s1pa-wjst-thadldaiekrf"
                        }
                    },
                    {
                        "class": "\\Convo\\Pckg\\Core\\Processors\\SimpleProcessor",
                        "namespace": "convo-core",
                        "properties": {
                            "name": "End session",
                            "ok": [
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "type": "default",
                                        "text": "Bye",
                                        "append": false,
                                        "alexa_domain": "normal",
                                        "alexa_emotion": "neutral",
                                        "alexa_emotion_intensity": "medium",
                                        "_component_id": "afjrjm10-vgwa-acxv-ccrd-azg0vgtspli7"
                                    }
                                },
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Elements\\EndSessionElement",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "_component_id": "kaqy7dow-9tuf-xfz6-byhv-oudknpujeuqh"
                                    }
                                }
                            ],
                            "request_filters": [
                                {
                                    "class": "\\Convo\\Pckg\\Core\\Filters\\IntentRequestFilter",
                                    "namespace": "convo-core",
                                    "properties": {
                                        "name": null,
                                        "readers": [
                                            {
                                                "class": "\\Convo\\Pckg\\Core\\Filters\\ConvoIntentReader",
                                                "namespace": "convo-core",
                                                "properties": {
                                                    "intent": "convo-core.StopIntent",
                                                    "required_slots": "",
                                                    "values": [],
                                                    "rename": [],
                                                    "_component_id": "csq0lqq2-deot-rbta-dgj7-hphhptrwnrcs"
                                                }
                                            },
                                            {
                                                "class": "\\Convo\\Pckg\\Core\\Filters\\ConvoIntentReader",
                                                "namespace": "convo-core",
                                                "properties": {
                                                    "intent": "convo-core.CancelIntent",
                                                    "required_slots": "",
                                                    "values": [],
                                                    "rename": [],
                                                    "_component_id": "25rsulps-sp9a-ljpp-0p77-cq4dbphstycy"
                                                }
                                            }
                                        ],
                                        "_component_id": "1aovjtli-db0j-kv2h-frlp-brywnlcif3ni"
                                    }
                                }
                            ],
                            "_component_id": "ie5sh28f-elli-lt5u-whyw-fkr7lzq7rc7f"
                        }
                    }
                ],
                "fallback": [],
                "_component_id": "21mz4rmq-supw-obiy-ekoh-kfmw6fw62r4c"
            }
        }
    ],
    "fragments": [],
    "time_updated": 1627908645,
    "intents_time_updated": 1627900104,
    "properties": [],
    "name": "Amazon User Account Linking Example"
}