Skip to main content

Action types

MimicBot recognizes six action kinds. The kind field on bot_actions drives how the widget proposes and executes each one.

newsletter

A form for collecting email addresses on a mailing list. The crawler recognizes <form> elements with a single email input and common "subscribe" copy.

Typical target:

{
"selector": "form.newsletter",
"fieldMap": { "email": "input[name='email']" },
"pageUrl": "https://acme.example/subscribe"
}

contact_form

A form for sending a message to the site owner. The form-replay system (see Form replay) handles submission across three layers.

Typical paramsSchema (JSON Schema):

{
"type": "object",
"required": ["name", "email", "message"],
"properties": {
"name": { "type": "string" },
"email": { "type": "string", "format": "email" },
"message": { "type": "string" }
}
}

mailto

A direct mailto: link on the site. The widget opens the user's email client with to:, subject:, and body: prefilled.

calendar

Detected Calendly, Acuity, or Cal.com booking URLs. For v1 the widget proposes the URL as a direct link; inline booking via the widget is on the roadmap.

phone

A tel: link or structured phone number. On mobile, tapping the proposal dials directly.

whatsapp

A wa.me or api.whatsapp.com link with an optional prefilled message body.

Next

→ Activating actions