Prerequisites
- Understanding of Modal basics
- Familiarity with Button webhooks
- Knowledge of Message updates
Submission flow
- User fills the modal and clicks Submit
- LithoBlocks receives the submission and extracts form values
- You can trigger a webhook (POST form data to your API) and/or a message update (change the original message)
- Optional: show a confirmation or thank-you in the message
Submission data
Form values are sent as a structured object, for example:Configure submission actions
- Open your modal definition
- Under On submit, add one or both:
- Webhook — Select a webhook destination; the payload will include the form data (and optional interaction placeholders)
- Message update — Choose strategy (replace self, replace all, add response block) and define the new content
- Save the modal
Combined actions
You can run both a webhook and a message update on submit: e.g. POST data to your API and append ”✓ Submitted by [user] at [time]” to the original message.Webhook usage in templates
Modal submission webhooks use the same webhook destinations as buttons. For advanced configuration — authentication, retries, payload templating, and monitoring — see Webhook destinations. To view and debug webhook delivery and responses, see Understanding logs.Next steps
Modal basics
Create and configure modals.
Webhook destinations
Auth, retries, and advanced payload config.
Understanding logs
Debug webhook delivery and responses.

