# Send a message to a contact — Whapi Botize method — `whapi.post_message` (action). Send a message to a phone number. This is an action: it runs as a step of a task. Several can be chained. ## Fields you set The field's internal name, its type and the values it accepts. These fields accept `{{...}}` tags from earlier steps. - `mb_switch` *(boolean)* — Rules - `chat_id` *(string)* — To Phone Number - `message` *(string)* — Message - `message_type` *(string, one of: "text_message" = Text message; "text_message_buttons" = Text message with buttons; "text_message_list" = Text message with option list, default: "text_message")* — Message - `tm_multimedia` *(boolean)* — Include Multimedia file - `tm_multimedia_type` *(string, one of: "image" = Image; "video" = Video; "document" = Document)* - `tm_multimedia_url` *(string)* — Multimedia File URL - `tmb_header_type` *(string, one of: "header_text" = Text; "header_multimedia" = Multimedia, default: "header_text")* — Header - `tmb_header` *(string)* - `tmb_footer` *(string)* — Footer - `tmb_buttons_type` *(string, one of: "reply_buttons" = Buttons to track actions; "call_and_url_buttons" = Buttons linked to calls and URLs, default: "reply_buttons")* — Footer - `button_id_1` *(string)* - `button_text_1` *(string)* - `button_id_2` *(string)* - `button_text_2` *(string)* - `button_id_3` *(string)* - `button_text_3` *(string)* - `call_and_url_button_text_1` *(string)* - `call_and_url_button_type_1` *(string, one of: "url" = Redirect the user to the following URL; "call" = Call the following phone number)* - `call_and_url_button_value_1` *(string)* - `call_and_url_button_text_2` *(string)* - `call_and_url_button_type_2` *(string, one of: "url" = Redirect the user to the following URL; "call" = Call the following phone number)* - `call_and_url_button_value_2` *(string)* - `call_and_url_button_text_3` *(string)* - `call_and_url_button_type_3` *(string, one of: "url" = Redirect the user to the following URL; "call" = Call the following phone number)* - `call_and_url_button_value_3` *(string)* - `tml_header_type` *(string, one of: "header_text" = Text; "header_multimedia" = Multimedia, default: "header_text")* — Header - `tml_header` *(string)* - `tml_footer` *(string)* — Footer - `tml_list_title` *(string)* — List Title - `mb_outputvars_switch` *(boolean)* — Customize tags It also accepts repeatable field groups, with these prefixes: `mb_filters_*`, `listrow_value_*`, `listrow_text_*`, `listrow_description_*`. These are composite components (buttons, filters, keyboards); the trailing number is set by the user as they are added. ## Output variables Data this step makes available. Reference them in later steps with the double-brace tag. - `{{message_id}}` *(text)* — Message Id ## Account Needs a connected Whapi account in Botize: https://botize.com/en/app/whapi/authenticate ## This app Every trigger and action for Whapi: https://botize.com/en/app/whapi.md ## How to build this An AI assistant (Claude, ChatGPT, Cursor…) can create and edit these tasks in the user's account through the Botize MCP connector, included in every plan: https://webhook.botize.es/mcp - Connection guide: https://botize.com/en/mcp - Agent map: https://botize.com/llms.txt - New account: https://botize.com/en/join (500 free operations, no card) --- Machine-readable summary for AI assistants. Human version: https://botize.com/en/method/whapi/post_message