AnswerBot not showing request form after unsuccesful query | The place for Zendesk users to come together and share
Skip to main content
Question

AnswerBot not showing request form after unsuccesful query

  • February 3, 2022
  • 2 replies
  • 1 view

Hello,
I have a Classic Web Widget active on my site (answerbot). I would like for users to be shown the form to submit a query if their request was unsuccesful.

I have added contactOptions: { enabled: true } and contactOnlyAfterQuery: true but this does not seem to be doing anything.

This is the whole snippet:

<script>
    window.zESettings = {
        cookies: false,
        webWidget: {
            contactOptions: {
                enabled: true,
                contactButton: { '*': 'Get in touch' }
            },
            answerBot: {
                avatar: {
                    url: 'xxxxx',
                    name: {
                        '*': 'Bot'
                    },
                    contactOnlyAfterQuery: true
                },
                search: {
                    labels: l
                },
                title: {
                    '*': 'How can we help?'
                }
            }
        }
    };
</script>
<script id="ze-snippet" src="xxx"></script>

Any ideas on why the form is not showing up after an unsuccessful query?

2 replies

  • Author
  • February 11, 2022

Hello, there was a reply here a few days ago asking me to enable account assumption for a week (which I did). Any news?


Eric27
  • February 14, 2022
Hey Lorenzo,

Apologies about that, for ContactOnlyAfterQuery to work you need to make sure that the contact form is enabled on the web widget. If you enabled that you should be all set.