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

