Update Popup Template
Ability Name: mo-otp/update-popup-template
Purpose: Customize an OTP popup template.
Description: Saves custom HTML for one popup template. Passing null resets it to the plugin default. Script tags are stripped to prevent stored XSS.
Trigger Conditions:
- "Customize the OTP popup"
- "Reset the error popup to default"
Input: { template_key: "Default|Error|UserChoice|External", html: string|null }
Output: { success, message, template_key }
Expected Output: Confirmation the template was updated or reset.
Agent Response Example: "✅ Default popup template updated."
For more information, visit our OTP Verification page.