I'm trying to implement One-Click Actions for Gmail using a 'Confirm Action'. The developer page specifies a 'requiresConfirmation' option [if true, additional confirmation is required before the handler executes]
. I tried setting this to 'true', but didn't work.
How is this supposed to work? I'm using the following markup
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"description": "Verify your email address",
"action": {
"@type": "ConfirmAction",
"name": "Verify Email Address",
"handler": {
"@type": "HttpActionHandler",
"url": "https://mywebsite.com/[email protected]",
"requiresConfirmation": true
}
}
}
</script>
The schema validates at Schema Validator. Any help would be appreciated. The above code works otherwise.
The requiresConfirmation
flag is not supported yet. I'll make sure the documentation is updated to reflect the current status.