# Enviar un mensaje a un contacto — Whapi Método de Botize — `whapi.post_message` (acción). Envía un mensaje a un número de teléfono. Es una acción: ocurre como paso de una tarea. Se pueden encadenar varias. ## Campos que se configuran Nombre interno del campo, tipo y valores admitidos. En estos campos se pueden insertar etiquetas `{{...}}` de pasos anteriores. - `mb_switch` *(boolean)* — Rules - `chat_id` *(string)* — To Phone Number - `message` *(string)* — Message - `message_type` *(string, one of: "text_message"; "text_message_buttons"; "text_message_list")* — Text message - `tm_multimedia` *(boolean)* — Include Multimedia file - `tm_multimedia_type` *(string, one of: "image"; "video"; "document")* - `tm_multimedia_url` *(string)* — Multimedia File URL - `tmb_header_type` *(string, one of: "header_text"; "header_multimedia")* — Text - `tmb_header` *(string)* - `tmb_footer` *(string)* — Footer - `tmb_buttons_type` *(string, one of: "reply_buttons"; "call_and_url_buttons")* — Buttons to track actions - `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"; "call")* - `call_and_url_button_value_1` *(string)* - `call_and_url_button_text_2` *(string)* - `call_and_url_button_type_2` *(string, one of: "url"; "call")* - `call_and_url_button_value_2` *(string)* - `call_and_url_button_text_3` *(string)* - `call_and_url_button_type_3` *(string, one of: "url"; "call")* - `call_and_url_button_value_3` *(string)* - `tml_header_type` *(string, one of: "header_text"; "header_multimedia")* — Text - `tml_header` *(string)* - `tml_footer` *(string)* — Footer - `tml_list_title` *(string)* — List Title - `mb_outputvars_switch` *(boolean)* — Customize tags Además admite grupos de campos repetibles, con estos prefijos: `mb_filters_*`, `listrow_value_*`, `listrow_text_*`, `listrow_description_*`. Son componentes compuestos (botones, filtros, teclados); el número final lo pone el usuario al añadirlos. ## Variables de salida Datos que este paso deja disponibles. Se referencian en pasos posteriores con la etiqueta entre dobles llaves. - `{{message_id}}` *(text)* — Id Mensaje ## Cuenta Necesita una cuenta de Whapi conectada en Botize: https://botize.com/es/app/whapi/authenticate ## Esta app Todos los disparadores y acciones de Whapi: https://botize.com/es/app/whapi.md ## Cómo montar esto Un asistente de IA (Claude, ChatGPT, Cursor…) puede crear y editar estas tareas en la cuenta del usuario a través del conector MCP de Botize, incluido en todos los planes: https://webhook.botize.es/mcp - Guía de conexión: https://botize.com/es/mcp - Mapa para agentes: https://botize.com/llms.txt - Cuenta nueva: https://botize.com/es/join (500 operaciones gratis, sin tarjeta) --- Resumen legible por máquinas para asistentes de IA. Versión para personas: https://botize.com/es/method/whapi/post_message