{
    "template_id":"wp-loop-example",
    "name":"WP Loop example",
    "description":"Example service which reads post data in a WP loop manner",
    "service": {
        "convo_service_version": 34,
        "packages": [
            "convo-core",
            "convo-wp-core"
        ],
        "contexts": [
            {
                "class": "\\Convo\\Wp\\Pckg\\WpCore\\WpQueryContext",
                "namespace": "convo-wp-core",
                "properties": {
                    "id": "search_posts",
                    "args": {
                        "post_type": "post",
                        "post_status": "publish",
                        "posts_per_page": 3,
                        "s": "${search}",
                        "paged": "${true}",
                        "order": "${order}",
                        "orderby": "${orderby}"
                    },
                    "resetNaviVar": "${reset_pagination}",
                    "_component_id": "2bttphuu-nm5g-81o6-bbwd-2op3gispbwff"
                }
            }
        ],
        "variables": {
            "orderby": "date",
            "order": "DESC"
        },
        "preview_variables": [],
        "entities": [],
        "intents": [
            {
                "name": "ShowAllIntent",
                "type": "custom",
                "utterances": [
                    {
                        "raw": "display all",
                        "model": [
                            {
                                "text": "display all"
                            }
                        ]
                    },
                    {
                        "raw": "show all",
                        "model": [
                            {
                                "text": "show all"
                            }
                        ]
                    },
                    {
                        "raw": "all",
                        "model": [
                            {
                                "text": "all"
                            }
                        ]
                    },
                    {
                        "raw": "give me all",
                        "model": [
                            {
                                "text": "give me all"
                            }
                        ]
                    },
                    {
                        "raw": "i want to see all",
                        "model": [
                            {
                                "text": "i want to see all"
                            }
                        ]
                    },
                    {
                        "raw": "Show me all",
                        "model": [
                            {
                                "text": "Show me all"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "SearchPostsIntent",
                "type": "custom",
                "utterances": [
                    {
                        "raw": "Give me bags",
                        "model": [
                            {
                                "text": "Give me"
                            },
                            {
                                "text": "bags",
                                "type": "@convo-core.any",
                                "slot_value": "search"
                            }
                        ]
                    },
                    {
                        "raw": "Search bags",
                        "model": [
                            {
                                "text": "Search"
                            },
                            {
                                "text": "bags",
                                "type": "@convo-core.any",
                                "slot_value": "search"
                            }
                        ]
                    },
                    {
                        "raw": "Find bags",
                        "model": [
                            {
                                "text": "Find"
                            },
                            {
                                "text": "bags",
                                "type": "@convo-core.any",
                                "slot_value": "search"
                            }
                        ]
                    },
                    {
                        "raw": "Find me bags",
                        "model": [
                            {
                                "text": "Find me"
                            },
                            {
                                "text": "bags",
                                "type": "@convo-core.any",
                                "slot_value": "search"
                            }
                        ]
                    },
                    {
                        "raw": "Search for bags",
                        "model": [
                            {
                                "text": "Search for"
                            },
                            {
                                "text": "bags",
                                "type": "@convo-core.any",
                                "slot_value": "search"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "BackToResultsIntent",
                "type": "custom",
                "utterances": [
                    {
                        "raw": "return to results",
                        "model": [
                            {
                                "text": "return to results"
                            }
                        ]
                    },
                    {
                        "raw": "go back to results",
                        "model": [
                            {
                                "text": "go back to results"
                            }
                        ]
                    },
                    {
                        "raw": "show results",
                        "model": [
                            {
                                "text": "show results"
                            }
                        ]
                    },
                    {
                        "raw": "Back to results",
                        "model": [
                            {
                                "text": "Back to results"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "OldestFirstIntent",
                "type": "custom",
                "utterances": [
                    {
                        "raw": "oldest first",
                        "model": [
                            {
                                "text": "oldest first"
                            }
                        ]
                    },
                    {
                        "raw": "Show me oldest",
                        "model": [
                            {
                                "text": "Show me oldest"
                            }
                        ]
                    }
                ]
            },
            {
                "name": "NewestFirstIntent",
                "type": "custom",
                "utterances": [
                    {
                        "raw": "show recent",
                        "model": [
                            {
                                "text": "show recent"
                            }
                        ]
                    },
                    {
                        "raw": "show me the recent ones",
                        "model": [
                            {
                                "text": "show me the recent ones"
                            }
                        ]
                    },
                    {
                        "raw": "show new newest",
                        "model": [
                            {
                                "text": "show new newest"
                            }
                        ]
                    },
                    {
                        "raw": "latest first",
                        "model": [
                            {
                                "text": "latest first"
                            }
                        ]
                    },
                    {
                        "raw": "show me latest",
                        "model": [
                            {
                                "text": "show me latest"
                            }
                        ]
                    }
                ]
            }
        ],
        "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": "Welcome",
                                "child": [
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "type": "default",
                                            "text": "Welcome to the WordPress Loop demo service!",
                                            "append": false,
                                            "alexa_domain": "normal",
                                            "alexa_emotion": "neutral",
                                            "alexa_emotion_intensity": "medium",
                                            "_component_id": "alzbc9eu-aytl-5adj-f2lw-88nemn0swknd"
                                        }
                                    }
                                ],
                                "else": [],
                                "_component_id": "tfoyasvh-0wsd-s6hh-tk6e-vz2yytqmi4ii"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "text": "What do you want to search  for?",
                                "append": false,
                                "_component_id": "a73ae390-feca-467f-5fac-bf9192dc4bc3"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "reprompt",
                                "text": "Say something like show me all.",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "lfmzv844-akoc-3tbh-qvpx-0cdhhsdiyol9"
                            }
                        }
                    ],
                    "processors": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Processors\\ProcessProcessorFragment",
                            "namespace": "convo-core",
                            "properties": {
                                "fragment_id": "Perform_Search",
                                "_component_id": "d5brgmsc-udui-k7h7-jlq9-jznpm8kugmmo"
                            }
                        }
                    ],
                    "fallback": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "Sorry, didn't understand that.",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "bymyjmue-hv7e-pccf-jirf-ujjqlzq8eokx"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\ReadElementsFragment",
                            "namespace": "convo-core",
                            "properties": {
                                "fragment_id": "Search_hint",
                                "_component_id": "hcto23pi-boyt-as3z-islv-ndqxg5nihcgg"
                            }
                        }
                    ],
                    "_component_id": "d870f398-c9a7-3ffe-dbe9-7c657c0fbb1a"
                }
            },
            {
                "class": "\\Convo\\Wp\\Pckg\\WpCore\\WpLoopPageBlock",
                "namespace": "convo-wp-core",
                "properties": {
                    "role": "conversation_block",
                    "block_id": "Search_Results",
                    "name": "Search Results",
                    "context_id": "search_posts",
                    "page_info_var": "page_info",
                    "single_post_info_var": "post_info",
                    "elements": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "Showing page ${page_info.page_no}",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "rzgvnnpg-ud0x-1vje-obce-mmyfmtgxnudm"
                            }
                        }
                    ],
                    "each_post": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "${post_info.abs_post_no}. ${post_info.post.post_title} by ${get_the_author()}",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "owxmgozv-v4ju-6jb8-b6ck-gpk6ixmm0u4d"
                            }
                        }
                    ],
                    "after_loop": [],
                    "post_selected": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "Selecting ${post_info.post.post_title}",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "ocongpso-kqlp-zjvw-c9db-jv5qixseiki1"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\GoToElement",
                            "namespace": "convo-core",
                            "properties": {
                                "value": "Post_Details",
                                "next": false,
                                "_component_id": "bxm84ojr-7xe1-arrd-ogex-iqwfupxgkb7m"
                            }
                        }
                    ],
                    "processors": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Processors\\SimpleProcessor",
                            "namespace": "convo-core",
                            "properties": {
                                "name": "Repeat",
                                "ok": [
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\ReadBlockAgainElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "_component_id": "2haqhkdp-s1ut-bgg1-uu4e-gpasaktkn0zj"
                                        }
                                    }
                                ],
                                "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.RepeatIntent",
                                                        "required_slots": "",
                                                        "values": [],
                                                        "rename": [],
                                                        "_component_id": "4xft1iym-yidx-bhzh-znmq-dzvgtwpccesa"
                                                    }
                                                }
                                            ],
                                            "_component_id": "6mo9xn1h-b0ux-ahnv-19eh-t2hrz6whkwof"
                                        }
                                    }
                                ],
                                "_component_id": "ruv3ctq3-omg2-j7gn-ho3t-gb4v0nm7qby6"
                            }
                        },
                        {
                            "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": "You can say go next, show previous or return to home to start over.",
                                            "append": false,
                                            "alexa_domain": "normal",
                                            "alexa_emotion": "neutral",
                                            "alexa_emotion_intensity": "medium",
                                            "_component_id": "qezglfnn-r0dm-uety-bome-z2mxxjt8cfbs"
                                        }
                                    }
                                ],
                                "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": "vrucjyak-jzrh-hy7i-s9gz-kc36dvnaju9a"
                                                    }
                                                }
                                            ],
                                            "_component_id": "yvvq3cpi-zl2x-zhw0-vizg-qkoddxf5em12"
                                        }
                                    }
                                ],
                                "_component_id": "6ologgtp-m0si-xvwf-n2yx-61pyhmqpunzk"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Processors\\ProcessProcessorFragment",
                            "namespace": "convo-core",
                            "properties": {
                                "fragment_id": "Perform_Search",
                                "_component_id": "cigbqrmf-qamc-biwr-rasm-sxrh5fdvdlvk"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Processors\\ProcessProcessorFragment",
                            "namespace": "convo-core",
                            "properties": {
                                "fragment_id": "Change_Sort_Order",
                                "_component_id": "otjpdlsw-gedb-tlt9-ztoo-l8ovjrhhkxok"
                            }
                        }
                    ],
                    "no_selected": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "I didn't quite get that. Try show me the first, or select two or show me the last.",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "govalhps-qvee-tkl3-y46m-daqbpcgcrz2j"
                            }
                        }
                    ],
                    "no_next": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "There are no more results.",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "s8gijwp9-p0ha-7w7e-tmpy-1tmdxacwmfcb"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\ReadElementsFragment",
                            "namespace": "convo-core",
                            "properties": {
                                "fragment_id": "Results_hints",
                                "_component_id": "mggndace-0wf9-oomz-dpnp-mziajgoel3zk"
                            }
                        }
                    ],
                    "no_previous": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "You are on the first page",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "hbijot9i-uaug-ohmz-f7pc-2qltk2gkf4st"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\ReadElementsFragment",
                            "namespace": "convo-core",
                            "properties": {
                                "fragment_id": "Results_hints",
                                "_component_id": "wqfn4uxk-ce4e-fjj6-a0d5-azt1hlljpp74"
                            }
                        }
                    ],
                    "fallback": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "I didn't understand that.",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "5gtnylzi-tf9e-edsu-kpb1-zgghu2z627s6"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\ReadElementsFragment",
                            "namespace": "convo-core",
                            "properties": {
                                "fragment_id": "Results_hints",
                                "_component_id": "eskqstgk-tsfh-jvox-lkd2-cst95olho1tt"
                            }
                        }
                    ],
                    "_component_id": "2dprq12e-qk1i-daxp-ci8v-qzo9fqe5yx3r"
                }
            },
            {
                "class": "\\Convo\\Wp\\Pckg\\WpCore\\WpLoopPostBlock",
                "namespace": "convo-wp-core",
                "properties": {
                    "role": "conversation_block",
                    "block_id": "Post_Details",
                    "name": "Post Details",
                    "context_id": "search_posts",
                    "page_info_var": "page_info",
                    "single_post_info_var": "post_info",
                    "elements": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "${post_info.post.post_title} by the ${get_the_author()}",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "dow3dsrf-vf6g-9w4o-xblm-xsuozokraugi"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "${wp_strip_all_tags( post_info.post.post_content)}",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "xupmjktw-trbh-8nwv-zs1x-g0cifxsfr2xe"
                            }
                        }
                    ],
                    "processors": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Processors\\SimpleProcessor",
                            "namespace": "convo-core",
                            "properties": {
                                "name": "Repeat",
                                "ok": [
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\ReadBlockAgainElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "_component_id": "kj7kwsff-s5xq-pmb5-hqgz-0iuntjkmzger"
                                        }
                                    }
                                ],
                                "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.RepeatIntent",
                                                        "required_slots": "",
                                                        "values": [],
                                                        "rename": [],
                                                        "_component_id": "kny7doxa-oxxe-pqed-2tuj-sp1upyrnrnwl"
                                                    }
                                                }
                                            ],
                                            "_component_id": "t0lculcs-hxzj-yd29-xvui-brxaxqum8xhb"
                                        }
                                    }
                                ],
                                "_component_id": "d5f5lmba-kpan-3rbf-cxgo-izo95ciaqsji"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Processors\\SimpleProcessor",
                            "namespace": "convo-core",
                            "properties": {
                                "name": "Back to results",
                                "ok": [
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "type": "default",
                                            "text": "Returning to results",
                                            "append": false,
                                            "alexa_domain": "normal",
                                            "alexa_emotion": "neutral",
                                            "alexa_emotion_intensity": "medium",
                                            "_component_id": "zu23fiaq-ah1q-tpv0-5zdk-x8uvgvehix4v"
                                        }
                                    },
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\GoToElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "value": "Search_Results",
                                            "next": false,
                                            "_component_id": "gfwwmhwh-dlcm-ygux-0dcj-at9djhrjoopm"
                                        }
                                    }
                                ],
                                "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": "BackToResultsIntent",
                                                        "required_slots": "",
                                                        "values": [],
                                                        "rename": [],
                                                        "_component_id": "nl9nxlli-g0gu-0umk-0p0o-gevony6ywtsf"
                                                    }
                                                }
                                            ],
                                            "_component_id": "prcq5swb-6rou-i48c-tuhv-nmopmya3szvl"
                                        }
                                    }
                                ],
                                "_component_id": "4okj01yb-xe36-ffno-ubsk-sjg2tbemyhap"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Processors\\ProcessProcessorFragment",
                            "namespace": "convo-core",
                            "properties": {
                                "fragment_id": "Perform_Search",
                                "_component_id": "riilpacs-whey-xakw-osuu-l74p9zgsaq13"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Processors\\ProcessProcessorFragment",
                            "namespace": "convo-core",
                            "properties": {
                                "fragment_id": "Change_Sort_Order",
                                "_component_id": "0zvjmhlf-o28v-vb6t-e5du-frunrr9dnzvs"
                            }
                        }
                    ],
                    "no_next": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "There are no more results. Say go previous, or start over, or return to results.",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "pqbxcqwu-jry5-6e8q-cl1f-7kqao6f4uezs"
                            }
                        }
                    ],
                    "no_previous": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "You are on the first result",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "54pmgwnq-zhue-ryxp-sizy-i6a7nfebqy9z"
                            }
                        }
                    ],
                    "fallback": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                            "namespace": "convo-core",
                            "properties": {
                                "type": "default",
                                "text": "I didn't understand that.",
                                "append": false,
                                "alexa_domain": "normal",
                                "alexa_emotion": "neutral",
                                "alexa_emotion_intensity": "medium",
                                "_component_id": "zs6ouzi8-0nk7-jv0d-jc8j-aomccdbekwlp"
                            }
                        }
                    ],
                    "_component_id": "qoox5nj7-hosr-nhry-g7qw-psfdrdhnatc5"
                }
            },
            {
                "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": "Exit",
                                "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": "5azqlmzi-ip2e-j8wn-8vxw-mudcbgcjsrbn"
                                        }
                                    },
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\EndSessionElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "_component_id": "xfakmgqc-de35-0ub1-fvs5-jzoabarcnpvj"
                                        }
                                    }
                                ],
                                "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": "y83fqfgb-ok8a-9t59-n5gv-ocbpm5fuo6db"
                                                    }
                                                }
                                            ],
                                            "_component_id": "ahurckwu-eely-c4f5-1kbm-ippgd11pdwkm"
                                        }
                                    }
                                ],
                                "_component_id": "rpmprts3-zwkc-sz6d-dg5x-ajhluzno47bg"
                            }
                        },
                        {
                            "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 simple WordPress loop testing skill.",
                                            "append": false,
                                            "alexa_domain": "normal",
                                            "alexa_emotion": "neutral",
                                            "alexa_emotion_intensity": "medium",
                                            "_component_id": "mu77ynf4-sxiv-3dv3-tkqg-dua125hvfzbh"
                                        }
                                    },
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\ReadBlockAgainElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "_component_id": "k8tkevtf-rrem-sbzu-zvoz-kxjd6kdrnimv"
                                        }
                                    }
                                ],
                                "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": "kfd0qgfl-vnkw-mpsd-mp5b-lqqzopyyugeh"
                                                    }
                                                }
                                            ],
                                            "_component_id": "p80kbbt5-xvtt-lbh8-9a3v-smcgbukwz491"
                                        }
                                    }
                                ],
                                "_component_id": "palkjsr4-wxfx-04wq-jly5-jyyqzfjcsexb"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Processors\\SimpleProcessor",
                            "namespace": "convo-core",
                            "properties": {
                                "name": "Back to home",
                                "ok": [
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "type": "default",
                                            "text": "Returning to home",
                                            "append": false,
                                            "alexa_domain": "normal",
                                            "alexa_emotion": "neutral",
                                            "alexa_emotion_intensity": "medium",
                                            "_component_id": "evuuwp8u-7f7i-4vew-qgy9-3nfquio7c5zc"
                                        }
                                    },
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\GoToElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "value": "home",
                                            "next": false,
                                            "_component_id": "qwekkuqt-k4bu-qwvb-lwo5-qhac2wry5wrk"
                                        }
                                    }
                                ],
                                "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": "hfijzj3f-kmiy-mm1p-ylse-xwo2gs6ywz5g"
                                                    }
                                                }
                                            ],
                                            "_component_id": "1bmvlamc-6gth-mgb6-kvnx-4gboooz0e47u"
                                        }
                                    }
                                ],
                                "_component_id": "0blqmisp-ptdd-c8jj-biqu-h131ove2vh0j"
                            }
                        }
                    ],
                    "fallback": [],
                    "_component_id": "ajzjaxkm-h8nd-zh8g-ovc6-mdrzmhvepsy0"
                }
            }
        ],
        "fragments": [
            {
                "class": "\\Convo\\Pckg\\Core\\Processors\\ProcessorFragment",
                "namespace": "convo-core",
                "properties": {
                    "fragment_id": "Perform_Search",
                    "name": "Perform Search",
                    "processors": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Processors\\SimpleProcessor",
                            "namespace": "convo-core",
                            "properties": {
                                "name": "Search posts",
                                "ok": [
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\SetParamElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "scope_type": "session",
                                            "properties": {
                                                "search": "${result.search}"
                                            },
                                            "_component_id": "dgl4epmh-upx6-klwx-wtuh-rp3z2wmia1am"
                                        }
                                    },
                                    {
                                        "class": "\\Convo\\Wp\\Pckg\\WpCore\\WpQueryElement",
                                        "namespace": "convo-wp-core",
                                        "properties": {
                                            "context_id": "search_posts",
                                            "page_info_var": "page_info",
                                            "has_results": [
                                                {
                                                    "class": "\\Convo\\Pckg\\Core\\Elements\\IfElement",
                                                    "namespace": "convo-core",
                                                    "properties": {
                                                        "test": "${page_info.query.found_posts === 1}",
                                                        "then": [
                                                            {
                                                                "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                                                "namespace": "convo-core",
                                                                "properties": {
                                                                    "type": "default",
                                                                    "text": "I found one!",
                                                                    "append": false,
                                                                    "alexa_domain": "normal",
                                                                    "alexa_emotion": "neutral",
                                                                    "alexa_emotion_intensity": "medium",
                                                                    "_component_id": "jr9wg3gh-0dgw-wr6w-nzn9-60vqnaidww6o"
                                                                }
                                                            },
                                                            {
                                                                "class": "\\Convo\\Pckg\\Core\\Elements\\GoToElement",
                                                                "namespace": "convo-core",
                                                                "properties": {
                                                                    "value": "Post_Details",
                                                                    "next": false,
                                                                    "_component_id": "vzjzaqqh-resl-asnu-vnwz-zoluzwtxryq1"
                                                                }
                                                            }
                                                        ],
                                                        "else_if": [],
                                                        "else": [
                                                            {
                                                                "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                                                "namespace": "convo-core",
                                                                "properties": {
                                                                    "type": "default",
                                                                    "text": "I found ${page_info.query.found_posts} results. Let me read them to you.",
                                                                    "append": false,
                                                                    "alexa_domain": "normal",
                                                                    "alexa_emotion": "neutral",
                                                                    "alexa_emotion_intensity": "medium",
                                                                    "_component_id": "9oh505rx-cyh9-7rkd-m8xs-xhmlhy2fm7u5"
                                                                }
                                                            },
                                                            {
                                                                "class": "\\Convo\\Pckg\\Core\\Elements\\GoToElement",
                                                                "namespace": "convo-core",
                                                                "properties": {
                                                                    "value": "Search_Results",
                                                                    "next": false,
                                                                    "_component_id": "blxghtk4-h1zm-n11q-r0og-40kyvtsn7vjr"
                                                                }
                                                            }
                                                        ],
                                                        "_component_id": "suirfimy-opba-4nzr-ska3-hq7pjrh0qbpf"
                                                    }
                                                }
                                            ],
                                            "no_results": [
                                                {
                                                    "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                                    "namespace": "convo-core",
                                                    "properties": {
                                                        "type": "default",
                                                        "text": "Nothing found for ${search}. Try again.",
                                                        "append": false,
                                                        "alexa_domain": "normal",
                                                        "alexa_emotion": "neutral",
                                                        "alexa_emotion_intensity": "medium",
                                                        "_component_id": "28mltpp3-jsst-iurj-zda0-usohqqngwi28"
                                                    }
                                                }
                                            ],
                                            "_component_id": "sdueeepp-r9fa-hiwz-jphv-3twxnnmaux61"
                                        }
                                    }
                                ],
                                "request_filters": [
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Filters\\IntentRequestFilter",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "name": "Search",
                                            "readers": [
                                                {
                                                    "class": "\\Convo\\Pckg\\Core\\Filters\\ConvoIntentReader",
                                                    "namespace": "convo-core",
                                                    "properties": {
                                                        "intent": "SearchPostsIntent",
                                                        "required_slots": "",
                                                        "values": [],
                                                        "rename": [],
                                                        "_component_id": "sygql4oo-frpl-46c2-1glj-mome7axmq3xs"
                                                    }
                                                },
                                                {
                                                    "class": "\\Convo\\Pckg\\Core\\Filters\\ConvoIntentReader",
                                                    "namespace": "convo-core",
                                                    "properties": {
                                                        "intent": "ShowAllIntent",
                                                        "required_slots": "",
                                                        "values": {
                                                            "search": ""
                                                        },
                                                        "rename": [],
                                                        "_component_id": "8ouuyrzv-bkku-ycnv-d8do-7cxfcyi05bfo"
                                                    }
                                                }
                                            ],
                                            "_component_id": "jpuzgxtv-ce6c-sg0t-ncxv-ap9ev6veu5gj"
                                        }
                                    }
                                ],
                                "_component_id": "bn4amwwo-ibtj-xw72-qh5l-epaputlz8wqg"
                            }
                        }
                    ],
                    "_component_id": "sks0trae-akxx-c51g-stah-hhz9eyqmckks"
                }
            },
            {
                "class": "\\Convo\\Pckg\\Core\\Processors\\ProcessorFragment",
                "namespace": "convo-core",
                "properties": {
                    "fragment_id": "Change_Sort_Order",
                    "name": "Change Sort Order",
                    "processors": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Processors\\SimpleProcessor",
                            "namespace": "convo-core",
                            "properties": {
                                "name": "Oldest first",
                                "ok": [
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "type": "default",
                                            "text": "Showing oldest posts",
                                            "append": false,
                                            "alexa_domain": "normal",
                                            "alexa_emotion": "neutral",
                                            "alexa_emotion_intensity": "medium",
                                            "_component_id": "wrehvbw0-kpff-n3pc-nkiz-z3yjyil7846s"
                                        }
                                    },
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\SetParamElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "scope_type": "session",
                                            "properties": {
                                                "order": "ASC"
                                            },
                                            "_component_id": "czv9yinb-b35e-8jmz-mo2x-kd99wgezqyfk"
                                        }
                                    },
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\SetParamElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "scope_type": "request",
                                            "properties": {
                                                "reset_pagination": "${true}"
                                            },
                                            "_component_id": "h1yme02z-jwa6-dph8-tifw-0xitmj9vtpr4"
                                        }
                                    }
                                ],
                                "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": "OldestFirstIntent",
                                                        "required_slots": "",
                                                        "values": [],
                                                        "rename": [],
                                                        "_component_id": "xzciiyuc-ujof-h9q4-ysks-hvzfdfnd09zd"
                                                    }
                                                }
                                            ],
                                            "_component_id": "cm7hd8ln-rs49-lzix-glwi-fehh17im8v5p"
                                        }
                                    }
                                ],
                                "_component_id": "fb3pwdsx-ac9m-qrmg-6jl5-erg4mx1imwds"
                            }
                        },
                        {
                            "class": "\\Convo\\Pckg\\Core\\Processors\\SimpleProcessor",
                            "namespace": "convo-core",
                            "properties": {
                                "name": "Newest first",
                                "ok": [
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "type": "default",
                                            "text": "Showing most recent posts",
                                            "append": false,
                                            "alexa_domain": "normal",
                                            "alexa_emotion": "neutral",
                                            "alexa_emotion_intensity": "medium",
                                            "_component_id": "brqo5lag-0wpi-odga-xxwz-sow3bbemmga3"
                                        }
                                    },
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\SetParamElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "scope_type": "session",
                                            "properties": {
                                                "order": "DESC"
                                            },
                                            "_component_id": "fhzu5chn-udog-kkx6-nuub-4ph1wvsxrc8u"
                                        }
                                    },
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\SetParamElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "scope_type": "request",
                                            "properties": {
                                                "reset_pagination": "${true}"
                                            },
                                            "_component_id": "advmzwha-3zak-vcab-ytm5-xwxfe5d3g8db"
                                        }
                                    }
                                ],
                                "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": "NewestFirstIntent",
                                                        "required_slots": "",
                                                        "values": [],
                                                        "rename": [],
                                                        "_component_id": "rrctjm2a-tabh-b063-nlhp-z6fajfnpqsmp"
                                                    }
                                                }
                                            ],
                                            "_component_id": "im1slxl3-uoax-ezmw-nzdo-cckzdoafa1b4"
                                        }
                                    }
                                ],
                                "_component_id": "wwxv1ngn-4il6-fwyu-laei-gps8ii7o6lmd"
                            }
                        }
                    ],
                    "_component_id": "yyxk0gt6-ikfe-ss9x-2yfv-xic98lkejwmr"
                }
            },
            {
                "class": "\\Convo\\Pckg\\Core\\Elements\\ElementsFragment",
                "namespace": "convo-core",
                "properties": {
                    "fragment_id": "Search_hint",
                    "name": "Search hints",
                    "elements": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\ElementRandomizer",
                            "namespace": "convo-core",
                            "properties": {
                                "name": null,
                                "mode": "wild",
                                "elements": [
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "type": "default",
                                            "text": "Try to say find me some bags or search for bags",
                                            "append": false,
                                            "alexa_domain": "normal",
                                            "alexa_emotion": "neutral",
                                            "alexa_emotion_intensity": "medium",
                                            "_component_id": "06i3qe8s-6m64-zaxs-sbce-500fre8aigjq"
                                        }
                                    },
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "type": "default",
                                            "text": "Try to say show me all",
                                            "append": false,
                                            "alexa_domain": "normal",
                                            "alexa_emotion": "neutral",
                                            "alexa_emotion_intensity": "medium",
                                            "_component_id": "5tmmv5mx-vqcv-6tdd-29ug-hlu4bhtcmrhs"
                                        }
                                    },
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "type": "default",
                                            "text": "Try to say show me oldest or show me recent",
                                            "append": false,
                                            "alexa_domain": "normal",
                                            "alexa_emotion": "neutral",
                                            "alexa_emotion_intensity": "medium",
                                            "_component_id": "yygnx7go-7l7t-2yv4-0tjk-kqmlfwonh2se"
                                        }
                                    }
                                ],
                                "namespace": null,
                                "scope_type": "installation",
                                "_component_id": "afmafibj-b0fc-lwgt-hzh3-4x6wugy1bugs"
                            }
                        }
                    ],
                    "_component_id": "mgmjzhkz-cr5p-pmxb-vbd0-yybwbhlyqrcu"
                }
            },
            {
                "class": "\\Convo\\Pckg\\Core\\Elements\\ElementsFragment",
                "namespace": "convo-core",
                "properties": {
                    "fragment_id": "Results_hints",
                    "name": "Results hints",
                    "elements": [
                        {
                            "class": "\\Convo\\Pckg\\Core\\Elements\\ElementRandomizer",
                            "namespace": "convo-core",
                            "properties": {
                                "name": null,
                                "mode": "wild",
                                "elements": [
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "type": "default",
                                            "text": "Try to say select first, show more or next",
                                            "append": false,
                                            "alexa_domain": "normal",
                                            "alexa_emotion": "neutral",
                                            "alexa_emotion_intensity": "medium",
                                            "_component_id": "eccyudfh-lu4o-8ehd-l32f-yudh9nzvmu51"
                                        }
                                    },
                                    {
                                        "class": "\\Convo\\Pckg\\Core\\Elements\\TextResponseElement",
                                        "namespace": "convo-core",
                                        "properties": {
                                            "type": "default",
                                            "text": "Try to say select last or show me the second",
                                            "append": false,
                                            "alexa_domain": "normal",
                                            "alexa_emotion": "neutral",
                                            "alexa_emotion_intensity": "medium",
                                            "_component_id": "jcd8ckxg-dy2y-v1zg-tkvf-h9zzvc7vboba"
                                        }
                                    }
                                ],
                                "namespace": null,
                                "scope_type": "installation",
                                "_component_id": "y32pi1yk-y2x9-onlw-gpi7-mmo6unusmjwt"
                            }
                        }
                    ],
                    "_component_id": "0w6v0fqs-bxyk-azth-cohq-kwkdk2iovdhm"
                }
            }
        ],
        "properties": []
    }
}