From 04c0042d21e3b04d077bf752dc1ad6dfca964bc1 Mon Sep 17 00:00:00 2001 From: rockwellll Date: Wed, 11 Nov 2026 13:15:48 -0300 Subject: [PATCH 1/4] Add the WhatsApp form guide Explains the form tool of the campaign editor in English and Spanish: how a form helps a business, what the customer sees, how to add one to a campaign, what it can ask for and where the answers go. The guide sits in the Numbers topic after Share a location, and Message editor overview links to it. It is a draft: the tool is not released, so the quoted labels can change and the screenshots are still pending. Co-Authored-By: Claude Fable 5.2 --- _config.yml | 1 + _i18n/en/numbers/message-editor-overview.md | 1 + _i18n/en/numbers/whatsapp-forms.md | 78 ++++++++++++++ _i18n/es/numbers/message-editor-overview.md | 1 + _i18n/es/numbers/whatsapp-forms.md | 78 ++++++++++++++ _numbers/whatsapp-forms.md | 20 ++++ docs/editorial-work/whatsapp-forms.md | 108 ++++++++++++++++++++ images/icons/editor/note-alt.svg | 5 + 8 files changed, 292 insertions(+) create mode 100644 _i18n/en/numbers/whatsapp-forms.md create mode 100644 _i18n/es/numbers/whatsapp-forms.md create mode 100644 _numbers/whatsapp-forms.md create mode 100644 docs/editorial-work/whatsapp-forms.md create mode 100644 images/icons/editor/note-alt.svg diff --git a/_config.yml b/_config.yml index c2ec96ad..35a7e806 100644 --- a/_config.yml +++ b/_config.yml @@ -115,6 +115,7 @@ collections: - message-editor-overview.md - message-editor-basics.md - share-a-location.md + - whatsapp-forms.md - exclusive-short-codes.md output: true team: diff --git a/_i18n/en/numbers/message-editor-overview.md b/_i18n/en/numbers/message-editor-overview.md index 772f64f3..9dbb4a00 100644 --- a/_i18n/en/numbers/message-editor-overview.md +++ b/_i18n/en/numbers/message-editor-overview.md @@ -77,3 +77,4 @@ Writing content is one part of setup. Before launching, review permission for th - [Tracked links]({% link _analytics-reporting-attribution/tracked-links.md %}) - [Personalization tags]({% link _audience/personalization-tags.md %}) - [Share a location]({% link _numbers/share-a-location.md %}) +- [Collect customer details with a WhatsApp form]({% link _numbers/whatsapp-forms.md %}) diff --git a/_i18n/en/numbers/whatsapp-forms.md b/_i18n/en/numbers/whatsapp-forms.md new file mode 100644 index 00000000..35876b5c --- /dev/null +++ b/_i18n/en/numbers/whatsapp-forms.md @@ -0,0 +1,78 @@ +Asking a customer for their details over chat takes a string of messages: one question, one answer, and a lot of waiting in between. Many customers stop replying halfway. + +A **WhatsApp form** asks for everything at once. Your campaign message carries a button. The customer taps it, a short form opens inside WhatsApp, they fill it in and send it. They never leave the chat, and their answers are saved on their profile in Hellotext. + +This guide explains how the form helps, how to add one to a campaign, and where the answers go. + +## How it helps your business + +- **Complete your customer profiles.** Ask once for a birthday, an email or a gender, and use it afterwards in segments, personalization and birthday campaigns. +- **Less back-and-forth.** One tap and one form replace a conversation of several questions. Your team does not have to chase each answer. +- **Answers you can use right away.** Each answer is saved in the right property of the contact: an email as an email, a date as a date. Nobody copies it by hand from a chat. +- **Customers stay in WhatsApp.** There is no web page to open and nothing to sign in to. The form is part of the conversation they are already in. + +## What your customer sees + +Your customer receives the campaign message as usual. Below the text, after any other buttons, there is a button that reads **Fill the form**. + +Tapping it opens a form inside WhatsApp, with one field for each detail you asked for, in the order you chose. The customer fills it in and sends it, and the chat shows that the form was submitted. + +The form's own texts, such as its title and its send button, are written in your business's language. + +## Before you start + +- **WhatsApp is connected.** The form is a WhatsApp feature. See [WhatsApp channel fundamentals]({% link _numbers/whatsapp-channel-fundamentals.md %}). +- **The campaign targets WhatsApp.** It can be a WhatsApp campaign, or one that sends by SMS and WhatsApp. The tool does not appear in campaigns that only send SMS or Email. In a campaign with both channels, customers who get the SMS receive the text without the form. +- **The properties you want to fill exist.** A form can ask for the contact's name and for properties of your business, such as birthday or a custom property you created. See [Custom properties and events]({% link _audience/custom-properties-and-events.md %}). +- **Meta accepts your business for forms.** Meta only publishes forms for businesses it has verified and that keep a good messaging quality. The campaign's message also goes through Meta's approval, like any WhatsApp campaign. + +## Add a form to a campaign + +1. Create or open a campaign and go to the step where you write the message. See [Create a campaign]({% link _campaigns/creating-a-campaign.md %}). +2. In the editor's toolbar, click the form icon . Its tooltip reads **Add WhatsApp form**. +3. Click **Add properties to collect** and pick what you want to ask for. Each property you pick appears as a tag. +4. Drag the tags to put them in order. The form asks its questions in that order. To remove one, move the pointer over its tag and click the ✕. +5. Close the tool. A **Fill the form** button now appears as the last button under your message, and as the last button in the phone preview. Click it to open the tool again. +6. Finish the campaign and send it as usual. + +To take the form off the campaign, remove all of its tags. + +## What a form can ask for + +| You pick | Your customer gets | +| --- | --- | +| **Name** | A text field. The answer becomes the contact's name. | +| **Phone** | A phone number field. | +| **Email** | An email field. | +| **Company** or a **Text** property | A short text field. | +| A **Long text** property | A larger text box. | +| A **Number** property | A number field. | +| **Birthday** | A date picker. | +| **Gender** | A choice between Male, Female and Other. | +| A **Checkbox** property | A box to tick. | + +Properties of other kinds, such as Date, URL, Tags, Lists or Address, cannot be asked in a form, so the tool does not offer them. + +## Where the answers go + +**On the contact.** Each answer is saved in its property as soon as the customer sends the form. If the contact already had a value there, the new answer replaces it. The name answer replaces the contact's name. + +**In the Inbox.** The submission appears in the customer's conversation as a **Form submitted** message that lists each answer, so your team can see what was sent and reply. See [Inbox and conversations overview]({% link _team/inbox-overview.md %}). + +Filling in a form does not subscribe the contact or change their consent. See [Consent and subscriber status]({% link _audience/consent-and-subscriber-status.md %}). + +## Good to know + +- **One form per message.** Its button is always the last button, and it always reads **Fill the form**. +- **Questions are required.** The customer has to answer every question to send the form, except the birthday and the checkboxes. +- **Up to five checkboxes.** WhatsApp allows five Checkbox properties on a form. +- **Keep property names short.** The property's name is the label of its question, and WhatsApp limits a text field's label to 20 characters. Longer names are cut. +- **Campaigns only.** The form tool is available in campaigns. Journeys, playbooks and Inbox replies do not have it. + +## Related guides + +- [Message editor overview]({% link _numbers/message-editor-overview.md %}) +- [Create a campaign]({% link _campaigns/creating-a-campaign.md %}) +- [Custom properties and events]({% link _audience/custom-properties-and-events.md %}) +- [Consent and subscriber status]({% link _audience/consent-and-subscriber-status.md %}) +- [Share a location]({% link _numbers/share-a-location.md %}) diff --git a/_i18n/es/numbers/message-editor-overview.md b/_i18n/es/numbers/message-editor-overview.md index b97ec979..c56420d7 100644 --- a/_i18n/es/numbers/message-editor-overview.md +++ b/_i18n/es/numbers/message-editor-overview.md @@ -77,3 +77,4 @@ Redactar el contenido es una parte de la configuración. Antes de lanzar, revisa - [Links con tracking]({% link _analytics-reporting-attribution/tracked-links.md %}) - [Etiquetas de personalización]({% link _audience/personalization-tags.md %}) - [Comparte una ubicación]({% link _numbers/share-a-location.md %}) +- [Recopila datos de tus clientes con un formulario de WhatsApp]({% link _numbers/whatsapp-forms.md %}) diff --git a/_i18n/es/numbers/whatsapp-forms.md b/_i18n/es/numbers/whatsapp-forms.md new file mode 100644 index 00000000..0f9cf31f --- /dev/null +++ b/_i18n/es/numbers/whatsapp-forms.md @@ -0,0 +1,78 @@ +Pedirle sus datos a un cliente por chat lleva una cadena de mensajes: una pregunta, una respuesta y mucha espera entre una y otra. Muchos clientes dejan de responder a mitad de camino. + +Un **formulario de WhatsApp** pide todo de una vez. Tu mensaje de campaña lleva un botón. El cliente lo toca, se abre un formulario corto dentro de WhatsApp, lo completa y lo envía. Nunca sale del chat, y sus respuestas quedan guardadas en su perfil en Hellotext. + +Esta guía explica cómo ayuda el formulario, cómo agregar uno a una campaña y a dónde van las respuestas. + +## Cómo ayuda a tu negocio + +- **Completa los perfiles de tus clientes.** Pide una sola vez un cumpleaños, un correo o un género, y úsalo después en segmentos, personalización y campañas de cumpleaños. +- **Menos ida y vuelta.** Un toque y un formulario reemplazan una conversación de varias preguntas. Tu equipo no tiene que perseguir cada respuesta. +- **Respuestas listas para usar.** Cada respuesta se guarda en la propiedad correcta del contacto: un correo como correo, una fecha como fecha. Nadie la copia a mano desde un chat. +- **El cliente se queda en WhatsApp.** No hay una página web que abrir ni una cuenta en la que entrar. El formulario es parte de la conversación en la que ya está. + +## Qué ve tu cliente + +Tu cliente recibe el mensaje de la campaña como siempre. Debajo del texto, después de los demás botones, hay un botón que dice **Completar formulario**. + +Al tocarlo se abre un formulario dentro de WhatsApp, con un campo por cada dato que pediste, en el orden que elegiste. El cliente lo completa y lo envía, y el chat muestra que el formulario fue enviado. + +Los textos propios del formulario, como su título y su botón de envío, se escriben en el idioma de tu negocio. + +## Antes de empezar + +- **WhatsApp está conectado.** El formulario es una función de WhatsApp. Consulta [Fundamentos del canal de WhatsApp]({% link _numbers/whatsapp-channel-fundamentals.md %}). +- **La campaña se envía por WhatsApp.** Puede ser una campaña de WhatsApp, o una que se envía por SMS y WhatsApp. La herramienta no aparece en campañas que solo se envían por SMS o Email. En una campaña con los dos canales, los clientes que reciben el SMS reciben el texto sin el formulario. +- **Las propiedades que quieres completar existen.** Un formulario puede pedir el nombre del contacto y propiedades de tu negocio, como el cumpleaños o una propiedad personalizada que hayas creado. Consulta [Propiedades y eventos personalizados]({% link _audience/custom-properties-and-events.md %}). +- **Meta acepta tu negocio para formularios.** Meta solo publica formularios de negocios que ha verificado y que mantienen una buena calidad de mensajería. El mensaje de la campaña también pasa por la aprobación de Meta, como cualquier campaña de WhatsApp. + +## Agrega un formulario a una campaña + +1. Crea o abre una campaña y ve al paso donde escribes el mensaje. Consulta [Crea una campaña]({% link _campaigns/creating-a-campaign.md %}). +2. En la barra de herramientas del editor, haz clic en el icono del formulario . Al pasar el cursor sobre él se lee **Agregar formulario de WhatsApp**. +3. Haz clic en **Agregar propiedades a recopilar** y elige lo que quieres pedir. Cada propiedad que eliges aparece como una etiqueta. +4. Arrastra las etiquetas para ordenarlas. El formulario hace sus preguntas en ese orden. Para quitar una, pasa el cursor sobre su etiqueta y haz clic en la ✕. +5. Cierra la herramienta. Ahora aparece un botón **Completar formulario** como último botón debajo de tu mensaje, y como último botón en la vista previa del teléfono. Haz clic en él para volver a abrir la herramienta. +6. Termina la campaña y envíala como siempre. + +Para quitar el formulario de la campaña, quita todas sus etiquetas. + +## Qué puede pedir un formulario + +| Tú eliges | Tu cliente recibe | +| --- | --- | +| **Nombre** | Un campo de texto. La respuesta pasa a ser el nombre del contacto. | +| **Teléfono** | Un campo de número de teléfono. | +| **E-mail** | Un campo de correo electrónico. | +| **Negocio** o una propiedad de **Texto** | Un campo de texto corto. | +| Una propiedad de **Texto largo** | Un cuadro de texto más grande. | +| Una propiedad de **Número** | Un campo numérico. | +| **Cumpleaños** | Un selector de fecha. | +| **Género** | Una elección entre Hombre, Mujer y Otro. | +| Una propiedad de **Checkbox** | Una casilla para marcar. | + +Las propiedades de otros tipos, como Fecha, URL, Etiquetas, Listas o Dirección, no se pueden pedir en un formulario, por eso la herramienta no las ofrece. + +## A dónde van las respuestas + +**Al contacto.** Cada respuesta se guarda en su propiedad en cuanto el cliente envía el formulario. Si el contacto ya tenía un valor ahí, la nueva respuesta lo reemplaza. La respuesta del nombre reemplaza el nombre del contacto. + +**Al Inbox.** El envío aparece en la conversación del cliente como un mensaje **Formulario enviado** que muestra cada respuesta, para que tu equipo vea lo que se envió y pueda responder. Consulta [Resumen de inbox y conversaciones]({% link _team/inbox-overview.md %}). + +Completar un formulario no suscribe al contacto ni cambia su consentimiento. Consulta [Consentimiento y estado de suscripción]({% link _audience/consent-and-subscriber-status.md %}). + +## Para tener en cuenta + +- **Un formulario por mensaje.** Su botón siempre es el último, y siempre dice **Completar formulario**. +- **Las preguntas son obligatorias.** El cliente tiene que responder todas las preguntas para enviar el formulario, salvo el cumpleaños y las casillas. +- **Hasta cinco casillas.** WhatsApp permite cinco propiedades de Checkbox en un formulario. +- **Usa nombres de propiedad cortos.** El nombre de la propiedad es la etiqueta de su pregunta, y WhatsApp limita la etiqueta de un campo de texto a 20 caracteres. Los nombres más largos se cortan. +- **Solo en campañas.** La herramienta de formulario está disponible en campañas. Los Journeys, los playbooks y las respuestas del Inbox no la tienen. + +## Guías relacionadas + +- [Resumen del editor de mensajes]({% link _numbers/message-editor-overview.md %}) +- [Crea una campaña]({% link _campaigns/creating-a-campaign.md %}) +- [Propiedades y eventos personalizados]({% link _audience/custom-properties-and-events.md %}) +- [Consentimiento y estado de suscripción]({% link _audience/consent-and-subscriber-status.md %}) +- [Comparte una ubicación]({% link _numbers/share-a-location.md %}) diff --git a/_numbers/whatsapp-forms.md b/_numbers/whatsapp-forms.md new file mode 100644 index 00000000..dd667387 --- /dev/null +++ b/_numbers/whatsapp-forms.md @@ -0,0 +1,20 @@ +--- +languages: ["en", "es"] + +en: + title: Collect customer details with a WhatsApp form + description: Add a native WhatsApp form to a campaign so customers can share their details without leaving the chat, and see where their answers go. + +es: + title: Recopila datos de tus clientes con un formulario de WhatsApp + description: Agrega un formulario nativo de WhatsApp a una campaña para que tus clientes compartan sus datos sin salir del chat, y mira a dónde van sus respuestas. + +permalink: whatsapp-forms +permalink_es: formularios-de-whatsapp + +layout: guide +topic: numbers +popular: false +--- + +{% translate_file numbers/whatsapp-forms.md %} diff --git a/docs/editorial-work/whatsapp-forms.md b/docs/editorial-work/whatsapp-forms.md new file mode 100644 index 00000000..0bae17f2 --- /dev/null +++ b/docs/editorial-work/whatsapp-forms.md @@ -0,0 +1,108 @@ +# WhatsApp forms — release documentation + +## Publication state + +Prepared on 2026-11-11 as a draft for the feature tracked in +[hellotext/hellotext#4545](https://github.com/hellotext/hellotext/issues/4545). +Do not merge or publish this guide until the campaign tool is deployed and its +released behavior has been checked against both translations. Merging Help's +main branch triggers publication. Auto-merge must remain disabled. + +The guide follows the implementation in the Hellotext Rails repository: + +- [#7037](https://github.com/hellotext/hellotext/pull/7037) (merged): the form + itself, built from an ordered list of properties and published to Meta. +- [#7039](https://github.com/hellotext/hellotext/pull/7039) (merged): the form + button on a WhatsApp template, the submitted form as an Inbox message and the + answers saved to the contact. +- Branch `whatsapp-flow-composer` (not yet a pull request): the form tool in + the campaign editor, the form button shown last under the message and in the + preview, and the **Form submitted** card in the Inbox. Every interface label + quoted in the guide comes from this branch and can still change in review. + +## Article inventory + +This is a new guide; there is no earlier published article to preserve. + +| Locale | Source body | Planned route | State | +| --- | --- | --- | --- | +| English | `_i18n/en/numbers/whatsapp-forms.md` | `/whatsapp-forms` | Draft; not published | +| Spanish | `_i18n/es/numbers/whatsapp-forms.md` | `/es/formularios-de-whatsapp` | Draft; not published | + +The shared stub is `_numbers/whatsapp-forms.md`, listed in the Numbers topic +right after Share a location, the other guide about a single editor tool. +Message editor overview links to it from its related guides in both languages. + +The inline tool icon is `images/icons/editor/note-alt.svg`, copied unchanged +from `app/assets/images/icons/note-alt.svg` in the Rails repository. + +## Reader task and scope + +Understand what a WhatsApp form is and why it is worth using, add one to a +campaign, and know where the answers end up. + +The copy is written for the person who writes campaigns. It opens with the +problem a form solves, shows what the customer sees before any control is +named, and then walks through the tool. It calls the feature a WhatsApp form; +Meta's name for it, WhatsApp Flows, appears only in the tool's own title. + +It leaves out how Meta reviews a form, the form's wire format and anything +about journeys or playbooks, where the tool is not available. + +## Behavior the guide states, and its source + +| Statement | Source in the Rails repository | +| --- | --- | +| The tool shows only when the campaign targets WhatsApp, alone or with SMS | `app/views/campaign/broadcasts/_broadcast.html.erb` | +| Which properties can be asked, and the field each one becomes | `WhatsApp::Flow::Builder::INPUTS` | +| Every question is required except the birthday and checkboxes | `WhatsApp::Flow::Builder::ALWAYS_OPTIONAL` | +| At most five Checkbox properties | `WhatsApp::Flow::Builder::CHECKBOX_LIMIT` | +| A text field's label is cut at 20 characters | `WhatsApp::Flow::Builder::LABEL_LIMITS` | +| The form's title and send button use the business's language | `WhatsApp::Flow::Builder#run` | +| The form button is always the last button | `Campaign::Composer#ordered_buttons` | +| Answers replace the contact's values, including the name | `WhatsApp::Flow::Submitted#run` | +| The Inbox lists the answers in the form's order | `Message::FlowReplyComponent` | + +Meta's requirement of a verified business with good messaging quality comes +from Meta's WhatsApp Flows documentation, not from Hellotext code. + +Two behaviors are not yet settled in the product and are deliberately left out +of the guide: what the merchant sees when Meta refuses a form, and what happens +when more than five Checkbox properties are picked. Add them once the tool +reports those cases. + +## Visual decisions + +The guide has no screenshots yet. Three would help the reader recognize the +interface, and all are pending until the tool is released, because they must be +captured from the real application under the shared screenshot standard: + +- The open form tool with a few properties added as tags, after step 4 of "Add + a form to a campaign", in each language. +- The message editor with the **Fill the form** button last under the message + and in the phone preview, after step 5. +- The **Form submitted** message in a conversation, in "Where the answers go". + +The table of what a form can ask for and the "Good to know" list stay in prose: +they explain rules, not screens. + +The guide describes a campaign message, so a recipient example was considered. +It would help: the message with its form button, and the form the button opens, +are the clearest way to show the result. It is pending because the editorial +`messages` component has no form button and no form screen, and a recipient +example must not be drawn as an invented screenshot. Until the component +supports it, "What your customer sees" describes the experience in prose. + +## Verification + +- A local `jekyll build` on 2026-11-11 completed and produced both routes. Each + page shows the guide in the Numbers topic between Share a location and + Exclusive short codes, every internal link resolves to its route in the + page's language, and the inline tool icon is served from + `images/icons/editor/note-alt.svg`. +- That build ran on Ruby 3.3.12 because 3.3.6 was not installed locally, and + without `JEKYLL_ENV=production`. `yarn build` and its security header check + have not been run for this draft. +- The rendered pages have not been inspected in a browser at desktop and + mobile widths. +- Not published; no public URL to verify. diff --git a/images/icons/editor/note-alt.svg b/images/icons/editor/note-alt.svg new file mode 100644 index 00000000..9ee3fcae --- /dev/null +++ b/images/icons/editor/note-alt.svg @@ -0,0 +1,5 @@ + + + + + From 34535114360686df5f6b0eb9c40c0fdfa9e2d908 Mon Sep 17 00:00:00 2001 From: rockwellll Date: Wed, 11 Nov 2026 13:32:44 -0300 Subject: [PATCH 2/4] Cover journey message steps in the WhatsApp form guide The form tool is also on the "Send a text message" step of a journey: it is always shown there and disabled while WhatsApp is not one of the step's channels. The guide gains an "Add a form to a journey" section in both languages and no longer says the tool is for campaigns only. Co-Authored-By: Claude Fable 5.2 --- _i18n/en/numbers/whatsapp-forms.md | 26 ++++++++++++++++++++------ _i18n/es/numbers/whatsapp-forms.md | 26 ++++++++++++++++++++------ _numbers/whatsapp-forms.md | 4 ++-- docs/editorial-work/whatsapp-forms.md | 21 ++++++++++++++------- 4 files changed, 56 insertions(+), 21 deletions(-) diff --git a/_i18n/en/numbers/whatsapp-forms.md b/_i18n/en/numbers/whatsapp-forms.md index 35876b5c..304b7823 100644 --- a/_i18n/en/numbers/whatsapp-forms.md +++ b/_i18n/en/numbers/whatsapp-forms.md @@ -1,8 +1,8 @@ Asking a customer for their details over chat takes a string of messages: one question, one answer, and a lot of waiting in between. Many customers stop replying halfway. -A **WhatsApp form** asks for everything at once. Your campaign message carries a button. The customer taps it, a short form opens inside WhatsApp, they fill it in and send it. They never leave the chat, and their answers are saved on their profile in Hellotext. +A **WhatsApp form** asks for everything at once. Your message carries a button. The customer taps it, a short form opens inside WhatsApp, they fill it in and send it. They never leave the chat, and their answers are saved on their profile in Hellotext. -This guide explains how the form helps, how to add one to a campaign, and where the answers go. +This guide explains how the form helps, how to add one to a campaign or to a journey, and where the answers go. ## How it helps your business @@ -13,7 +13,7 @@ This guide explains how the form helps, how to add one to a campaign, and where ## What your customer sees -Your customer receives the campaign message as usual. Below the text, after any other buttons, there is a button that reads **Fill the form**. +Your customer receives your message as usual. Below the text, after any other buttons, there is a button that reads **Fill the form**. Tapping it opens a form inside WhatsApp, with one field for each detail you asked for, in the order you chose. The customer fills it in and sends it, and the chat shows that the form was submitted. @@ -22,9 +22,9 @@ The form's own texts, such as its title and its send button, are written in your ## Before you start - **WhatsApp is connected.** The form is a WhatsApp feature. See [WhatsApp channel fundamentals]({% link _numbers/whatsapp-channel-fundamentals.md %}). -- **The campaign targets WhatsApp.** It can be a WhatsApp campaign, or one that sends by SMS and WhatsApp. The tool does not appear in campaigns that only send SMS or Email. In a campaign with both channels, customers who get the SMS receive the text without the form. +- **The message can go out by WhatsApp.** In a campaign, the tool appears when the campaign targets WhatsApp, alone or together with SMS. In a journey, the tool is always in the toolbar of a **Send a text message** step, and it is disabled while WhatsApp is not one of the step's channels. Customers who get the message by another channel receive the text without the form. - **The properties you want to fill exist.** A form can ask for the contact's name and for properties of your business, such as birthday or a custom property you created. See [Custom properties and events]({% link _audience/custom-properties-and-events.md %}). -- **Meta accepts your business for forms.** Meta only publishes forms for businesses it has verified and that keep a good messaging quality. The campaign's message also goes through Meta's approval, like any WhatsApp campaign. +- **Meta accepts your business for forms.** Meta only publishes forms for businesses it has verified and that keep a good messaging quality. The message also goes through Meta's approval, like any WhatsApp template. ## Add a form to a campaign @@ -37,6 +37,19 @@ The form's own texts, such as its title and its send button, are written in your To take the form off the campaign, remove all of its tags. +## Add a form to a journey + +A form works the same way in a message a journey sends. See [Custom journey]({% link _journeys/custom-journey.md %}). + +1. Open the journey and add or open a **Send a text message** step. +2. Under **Sending channels**, make sure WhatsApp is one of the channels the step can use. With **Any available channel**, WhatsApp counts when your business has it connected. +3. Click the form icon , pick the properties and put them in order, as in a campaign. +4. Save the step. + +The form tool is always visible in this step, but it is disabled while WhatsApp is not among the step's channels. If you take WhatsApp off a step that has a form, the **Fill the form** button leaves the message. Select WhatsApp again before you save and the form you picked comes back. + +**Ask a question** steps do not have the form tool. + ## What a form can ask for | You pick | Your customer gets | @@ -67,12 +80,13 @@ Filling in a form does not subscribe the contact or change their consent. See [C - **Questions are required.** The customer has to answer every question to send the form, except the birthday and the checkboxes. - **Up to five checkboxes.** WhatsApp allows five Checkbox properties on a form. - **Keep property names short.** The property's name is the label of its question, and WhatsApp limits a text field's label to 20 characters. Longer names are cut. -- **Campaigns only.** The form tool is available in campaigns. Journeys, playbooks and Inbox replies do not have it. +- **Campaigns and journeys.** The form tool is available in campaigns and in the **Send a text message** step of a journey. **Ask a question** steps, playbooks and Inbox replies do not have it. ## Related guides - [Message editor overview]({% link _numbers/message-editor-overview.md %}) - [Create a campaign]({% link _campaigns/creating-a-campaign.md %}) +- [Custom journey]({% link _journeys/custom-journey.md %}) - [Custom properties and events]({% link _audience/custom-properties-and-events.md %}) - [Consent and subscriber status]({% link _audience/consent-and-subscriber-status.md %}) - [Share a location]({% link _numbers/share-a-location.md %}) diff --git a/_i18n/es/numbers/whatsapp-forms.md b/_i18n/es/numbers/whatsapp-forms.md index 0f9cf31f..3fad309e 100644 --- a/_i18n/es/numbers/whatsapp-forms.md +++ b/_i18n/es/numbers/whatsapp-forms.md @@ -1,8 +1,8 @@ Pedirle sus datos a un cliente por chat lleva una cadena de mensajes: una pregunta, una respuesta y mucha espera entre una y otra. Muchos clientes dejan de responder a mitad de camino. -Un **formulario de WhatsApp** pide todo de una vez. Tu mensaje de campaña lleva un botón. El cliente lo toca, se abre un formulario corto dentro de WhatsApp, lo completa y lo envía. Nunca sale del chat, y sus respuestas quedan guardadas en su perfil en Hellotext. +Un **formulario de WhatsApp** pide todo de una vez. Tu mensaje lleva un botón. El cliente lo toca, se abre un formulario corto dentro de WhatsApp, lo completa y lo envía. Nunca sale del chat, y sus respuestas quedan guardadas en su perfil en Hellotext. -Esta guía explica cómo ayuda el formulario, cómo agregar uno a una campaña y a dónde van las respuestas. +Esta guía explica cómo ayuda el formulario, cómo agregar uno a una campaña o a una ruta y a dónde van las respuestas. ## Cómo ayuda a tu negocio @@ -13,7 +13,7 @@ Esta guía explica cómo ayuda el formulario, cómo agregar uno a una campaña y ## Qué ve tu cliente -Tu cliente recibe el mensaje de la campaña como siempre. Debajo del texto, después de los demás botones, hay un botón que dice **Completar formulario**. +Tu cliente recibe tu mensaje como siempre. Debajo del texto, después de los demás botones, hay un botón que dice **Completar formulario**. Al tocarlo se abre un formulario dentro de WhatsApp, con un campo por cada dato que pediste, en el orden que elegiste. El cliente lo completa y lo envía, y el chat muestra que el formulario fue enviado. @@ -22,9 +22,9 @@ Los textos propios del formulario, como su título y su botón de envío, se esc ## Antes de empezar - **WhatsApp está conectado.** El formulario es una función de WhatsApp. Consulta [Fundamentos del canal de WhatsApp]({% link _numbers/whatsapp-channel-fundamentals.md %}). -- **La campaña se envía por WhatsApp.** Puede ser una campaña de WhatsApp, o una que se envía por SMS y WhatsApp. La herramienta no aparece en campañas que solo se envían por SMS o Email. En una campaña con los dos canales, los clientes que reciben el SMS reciben el texto sin el formulario. +- **El mensaje puede salir por WhatsApp.** En una campaña, la herramienta aparece cuando la campaña se envía por WhatsApp, solo o junto con SMS. En una ruta, la herramienta está siempre en la barra de un paso **Enviar un mensaje**, y queda deshabilitada mientras WhatsApp no sea uno de los canales del paso. Los clientes que reciben el mensaje por otro canal reciben el texto sin el formulario. - **Las propiedades que quieres completar existen.** Un formulario puede pedir el nombre del contacto y propiedades de tu negocio, como el cumpleaños o una propiedad personalizada que hayas creado. Consulta [Propiedades y eventos personalizados]({% link _audience/custom-properties-and-events.md %}). -- **Meta acepta tu negocio para formularios.** Meta solo publica formularios de negocios que ha verificado y que mantienen una buena calidad de mensajería. El mensaje de la campaña también pasa por la aprobación de Meta, como cualquier campaña de WhatsApp. +- **Meta acepta tu negocio para formularios.** Meta solo publica formularios de negocios que ha verificado y que mantienen una buena calidad de mensajería. El mensaje también pasa por la aprobación de Meta, como cualquier plantilla de WhatsApp. ## Agrega un formulario a una campaña @@ -37,6 +37,19 @@ Los textos propios del formulario, como su título y su botón de envío, se esc Para quitar el formulario de la campaña, quita todas sus etiquetas. +## Agrega un formulario a una ruta + +Un formulario funciona igual en un mensaje que envía una ruta. Consulta [Ruta personalizada]({% link _journeys/custom-journey.md %}). + +1. Abre la ruta y agrega o abre un paso **Enviar un mensaje**. +2. En **Canales de envío**, asegúrate de que WhatsApp sea uno de los canales que el paso puede usar. Con **Cualquier canal disponible**, WhatsApp cuenta cuando tu negocio lo tiene conectado. +3. Haz clic en el icono del formulario , elige las propiedades y ordénalas, igual que en una campaña. +4. Guarda el paso. + +La herramienta de formulario siempre está visible en este paso, pero queda deshabilitada mientras WhatsApp no esté entre los canales del paso. Si quitas WhatsApp de un paso que tiene un formulario, el botón **Completar formulario** sale del mensaje. Vuelve a seleccionar WhatsApp antes de guardar y el formulario que elegiste regresa. + +Los pasos **Hacer una pregunta** no tienen la herramienta de formulario. + ## Qué puede pedir un formulario | Tú eliges | Tu cliente recibe | @@ -67,12 +80,13 @@ Completar un formulario no suscribe al contacto ni cambia su consentimiento. Con - **Las preguntas son obligatorias.** El cliente tiene que responder todas las preguntas para enviar el formulario, salvo el cumpleaños y las casillas. - **Hasta cinco casillas.** WhatsApp permite cinco propiedades de Checkbox en un formulario. - **Usa nombres de propiedad cortos.** El nombre de la propiedad es la etiqueta de su pregunta, y WhatsApp limita la etiqueta de un campo de texto a 20 caracteres. Los nombres más largos se cortan. -- **Solo en campañas.** La herramienta de formulario está disponible en campañas. Los Journeys, los playbooks y las respuestas del Inbox no la tienen. +- **Campañas y rutas.** La herramienta de formulario está disponible en campañas y en el paso **Enviar un mensaje** de una ruta. Los pasos **Hacer una pregunta**, los playbooks y las respuestas del Inbox no la tienen. ## Guías relacionadas - [Resumen del editor de mensajes]({% link _numbers/message-editor-overview.md %}) - [Crea una campaña]({% link _campaigns/creating-a-campaign.md %}) +- [Ruta personalizada]({% link _journeys/custom-journey.md %}) - [Propiedades y eventos personalizados]({% link _audience/custom-properties-and-events.md %}) - [Consentimiento y estado de suscripción]({% link _audience/consent-and-subscriber-status.md %}) - [Comparte una ubicación]({% link _numbers/share-a-location.md %}) diff --git a/_numbers/whatsapp-forms.md b/_numbers/whatsapp-forms.md index dd667387..ddc39ebc 100644 --- a/_numbers/whatsapp-forms.md +++ b/_numbers/whatsapp-forms.md @@ -3,11 +3,11 @@ languages: ["en", "es"] en: title: Collect customer details with a WhatsApp form - description: Add a native WhatsApp form to a campaign so customers can share their details without leaving the chat, and see where their answers go. + description: Add a native WhatsApp form to a campaign or a journey message so customers can share their details without leaving the chat, and see where their answers go. es: title: Recopila datos de tus clientes con un formulario de WhatsApp - description: Agrega un formulario nativo de WhatsApp a una campaña para que tus clientes compartan sus datos sin salir del chat, y mira a dónde van sus respuestas. + description: Agrega un formulario nativo de WhatsApp a una campaña o a un mensaje de una ruta para que tus clientes compartan sus datos sin salir del chat, y mira a dónde van sus respuestas. permalink: whatsapp-forms permalink_es: formularios-de-whatsapp diff --git a/docs/editorial-work/whatsapp-forms.md b/docs/editorial-work/whatsapp-forms.md index 0bae17f2..d44c1ecf 100644 --- a/docs/editorial-work/whatsapp-forms.md +++ b/docs/editorial-work/whatsapp-forms.md @@ -16,9 +16,10 @@ The guide follows the implementation in the Hellotext Rails repository: button on a WhatsApp template, the submitted form as an Inbox message and the answers saved to the contact. - Branch `whatsapp-flow-composer` (not yet a pull request): the form tool in - the campaign editor, the form button shown last under the message and in the - preview, and the **Form submitted** card in the Inbox. Every interface label - quoted in the guide comes from this branch and can still change in review. + the campaign editor and in the journey **Send a text message** step, the form + button shown last under the message and in the preview, and the **Form + submitted** card in the Inbox. Every interface label quoted in the guide comes + from this branch and can still change in review. ## Article inventory @@ -39,27 +40,30 @@ from `app/assets/images/icons/note-alt.svg` in the Rails repository. ## Reader task and scope Understand what a WhatsApp form is and why it is worth using, add one to a -campaign, and know where the answers end up. +campaign or to a journey message, and know where the answers end up. -The copy is written for the person who writes campaigns. It opens with the +The copy is written for the person who writes campaigns and journeys. It opens with the problem a form solves, shows what the customer sees before any control is named, and then walks through the tool. It calls the feature a WhatsApp form; Meta's name for it, WhatsApp Flows, appears only in the tool's own title. It leaves out how Meta reviews a form, the form's wire format and anything -about journeys or playbooks, where the tool is not available. +about **Ask a question** steps or playbooks, where the tool is not available. ## Behavior the guide states, and its source | Statement | Source in the Rails repository | | --- | --- | | The tool shows only when the campaign targets WhatsApp, alone or with SMS | `app/views/campaign/broadcasts/_broadcast.html.erb` | +| A journey message step always shows the tool and disables it without WhatsApp among its channels | `app/views/steps/messages/_email_preview_pane.html.erb`, `input_controller.js#templatesTechnologyChanged` | +| Taking WhatsApp off a step removes the form button, and selecting it again brings the picked form back | `compose/toolbar/flow_controller.js` | +| The question step has no form tool | `app/views/steps/panes/_question.html.erb` | | Which properties can be asked, and the field each one becomes | `WhatsApp::Flow::Builder::INPUTS` | | Every question is required except the birthday and checkboxes | `WhatsApp::Flow::Builder::ALWAYS_OPTIONAL` | | At most five Checkbox properties | `WhatsApp::Flow::Builder::CHECKBOX_LIMIT` | | A text field's label is cut at 20 characters | `WhatsApp::Flow::Builder::LABEL_LIMITS` | | The form's title and send button use the business's language | `WhatsApp::Flow::Builder#run` | -| The form button is always the last button | `Campaign::Composer#ordered_buttons` | +| The form button is always the last button | `Template::Button.with_flow_last` | | Answers replace the contact's values, including the name | `WhatsApp::Flow::Submitted#run` | | The Inbox lists the answers in the form's order | `Message::FlowReplyComponent` | @@ -83,6 +87,9 @@ captured from the real application under the shared screenshot standard: and in the phone preview, after step 5. - The **Form submitted** message in a conversation, in "Where the answers go". +A fourth is pending for "Add a form to a journey": the **Send a text message** +step with the form tool and its **Sending channels**. + The table of what a form can ask for and the "Good to know" list stay in prose: they explain rules, not screens. From 8c6a516658490677c35dec3213c222e51715c80d Mon Sep 17 00:00:00 2001 From: rockwellll Date: Wed, 11 Nov 2026 13:44:19 -0300 Subject: [PATCH 3/4] Describe the form button's text in the WhatsApp form guide The form tool lets the merchant set what the button says, up to 25 characters, with "Fill the form" as the default. The guide explains the Button text field in both languages instead of saying the button always reads the default, and the work record points at the Rails pull request. Co-Authored-By: Claude Fable 5.2 --- _i18n/en/numbers/whatsapp-forms.md | 14 ++++++++------ _i18n/es/numbers/whatsapp-forms.md | 14 ++++++++------ docs/editorial-work/whatsapp-forms.md | 6 ++++-- 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/_i18n/en/numbers/whatsapp-forms.md b/_i18n/en/numbers/whatsapp-forms.md index 304b7823..e5903511 100644 --- a/_i18n/en/numbers/whatsapp-forms.md +++ b/_i18n/en/numbers/whatsapp-forms.md @@ -13,7 +13,7 @@ This guide explains how the form helps, how to add one to a campaign or to a jou ## What your customer sees -Your customer receives your message as usual. Below the text, after any other buttons, there is a button that reads **Fill the form**. +Your customer receives your message as usual. Below the text, after any other buttons, there is a button that reads **Fill the form**, or the text you chose for it. Tapping it opens a form inside WhatsApp, with one field for each detail you asked for, in the order you chose. The customer fills it in and sends it, and the chat shows that the form was submitted. @@ -32,8 +32,9 @@ The form's own texts, such as its title and its send button, are written in your 2. In the editor's toolbar, click the form icon . Its tooltip reads **Add WhatsApp form**. 3. Click **Add properties to collect** and pick what you want to ask for. Each property you pick appears as a tag. 4. Drag the tags to put them in order. The form asks its questions in that order. To remove one, move the pointer over its tag and click the ✕. -5. Close the tool. A **Fill the form** button now appears as the last button under your message, and as the last button in the phone preview. Click it to open the tool again. -6. Finish the campaign and send it as usual. +5. To change what the button says, edit **Button text**. It starts as **Fill the form** and can be up to 25 characters long. +6. Close the tool. The form's button now appears as the last button under your message, and as the last button in the phone preview. Click it to open the tool again. +7. Finish the campaign and send it as usual. To take the form off the campaign, remove all of its tags. @@ -43,10 +44,10 @@ A form works the same way in a message a journey sends. See [Custom journey]({% 1. Open the journey and add or open a **Send a text message** step. 2. Under **Sending channels**, make sure WhatsApp is one of the channels the step can use. With **Any available channel**, WhatsApp counts when your business has it connected. -3. Click the form icon , pick the properties and put them in order, as in a campaign. +3. Click the form icon , pick the properties, put them in order and set the button text, as in a campaign. 4. Save the step. -The form tool is always visible in this step, but it is disabled while WhatsApp is not among the step's channels. If you take WhatsApp off a step that has a form, the **Fill the form** button leaves the message. Select WhatsApp again before you save and the form you picked comes back. +The form tool is always visible in this step, but it is disabled while WhatsApp is not among the step's channels. If you take WhatsApp off a step that has a form, the form's button leaves the message. Select WhatsApp again before you save and the form you picked comes back. **Ask a question** steps do not have the form tool. @@ -76,7 +77,8 @@ Filling in a form does not subscribe the contact or change their consent. See [C ## Good to know -- **One form per message.** Its button is always the last button, and it always reads **Fill the form**. +- **One form per message.** Its button is always the last button. +- **Button text.** You choose what the button says, up to 25 characters. If you leave it empty, it reads **Fill the form**. Emojis are removed. - **Questions are required.** The customer has to answer every question to send the form, except the birthday and the checkboxes. - **Up to five checkboxes.** WhatsApp allows five Checkbox properties on a form. - **Keep property names short.** The property's name is the label of its question, and WhatsApp limits a text field's label to 20 characters. Longer names are cut. diff --git a/_i18n/es/numbers/whatsapp-forms.md b/_i18n/es/numbers/whatsapp-forms.md index 3fad309e..44d110dd 100644 --- a/_i18n/es/numbers/whatsapp-forms.md +++ b/_i18n/es/numbers/whatsapp-forms.md @@ -13,7 +13,7 @@ Esta guía explica cómo ayuda el formulario, cómo agregar uno a una campaña o ## Qué ve tu cliente -Tu cliente recibe tu mensaje como siempre. Debajo del texto, después de los demás botones, hay un botón que dice **Completar formulario**. +Tu cliente recibe tu mensaje como siempre. Debajo del texto, después de los demás botones, hay un botón que dice **Completar formulario**, o el texto que hayas elegido. Al tocarlo se abre un formulario dentro de WhatsApp, con un campo por cada dato que pediste, en el orden que elegiste. El cliente lo completa y lo envía, y el chat muestra que el formulario fue enviado. @@ -32,8 +32,9 @@ Los textos propios del formulario, como su título y su botón de envío, se esc 2. En la barra de herramientas del editor, haz clic en el icono del formulario . Al pasar el cursor sobre él se lee **Agregar formulario de WhatsApp**. 3. Haz clic en **Agregar propiedades a recopilar** y elige lo que quieres pedir. Cada propiedad que eliges aparece como una etiqueta. 4. Arrastra las etiquetas para ordenarlas. El formulario hace sus preguntas en ese orden. Para quitar una, pasa el cursor sobre su etiqueta y haz clic en la ✕. -5. Cierra la herramienta. Ahora aparece un botón **Completar formulario** como último botón debajo de tu mensaje, y como último botón en la vista previa del teléfono. Haz clic en él para volver a abrir la herramienta. -6. Termina la campaña y envíala como siempre. +5. Para cambiar lo que dice el botón, edita **Texto del botón**. Empieza como **Completar formulario** y puede tener hasta 25 caracteres. +6. Cierra la herramienta. Ahora el botón del formulario aparece como último botón debajo de tu mensaje, y como último botón en la vista previa del teléfono. Haz clic en él para volver a abrir la herramienta. +7. Termina la campaña y envíala como siempre. Para quitar el formulario de la campaña, quita todas sus etiquetas. @@ -43,10 +44,10 @@ Un formulario funciona igual en un mensaje que envía una ruta. Consulta [Ruta p 1. Abre la ruta y agrega o abre un paso **Enviar un mensaje**. 2. En **Canales de envío**, asegúrate de que WhatsApp sea uno de los canales que el paso puede usar. Con **Cualquier canal disponible**, WhatsApp cuenta cuando tu negocio lo tiene conectado. -3. Haz clic en el icono del formulario , elige las propiedades y ordénalas, igual que en una campaña. +3. Haz clic en el icono del formulario , elige las propiedades, ordénalas y define el texto del botón, igual que en una campaña. 4. Guarda el paso. -La herramienta de formulario siempre está visible en este paso, pero queda deshabilitada mientras WhatsApp no esté entre los canales del paso. Si quitas WhatsApp de un paso que tiene un formulario, el botón **Completar formulario** sale del mensaje. Vuelve a seleccionar WhatsApp antes de guardar y el formulario que elegiste regresa. +La herramienta de formulario siempre está visible en este paso, pero queda deshabilitada mientras WhatsApp no esté entre los canales del paso. Si quitas WhatsApp de un paso que tiene un formulario, el botón del formulario sale del mensaje. Vuelve a seleccionar WhatsApp antes de guardar y el formulario que elegiste regresa. Los pasos **Hacer una pregunta** no tienen la herramienta de formulario. @@ -76,7 +77,8 @@ Completar un formulario no suscribe al contacto ni cambia su consentimiento. Con ## Para tener en cuenta -- **Un formulario por mensaje.** Su botón siempre es el último, y siempre dice **Completar formulario**. +- **Un formulario por mensaje.** Su botón siempre es el último. +- **Texto del botón.** Tú eliges lo que dice el botón, hasta 25 caracteres. Si lo dejas vacío, dice **Completar formulario**. Los emojis se quitan. - **Las preguntas son obligatorias.** El cliente tiene que responder todas las preguntas para enviar el formulario, salvo el cumpleaños y las casillas. - **Hasta cinco casillas.** WhatsApp permite cinco propiedades de Checkbox en un formulario. - **Usa nombres de propiedad cortos.** El nombre de la propiedad es la etiqueta de su pregunta, y WhatsApp limita la etiqueta de un campo de texto a 20 caracteres. Los nombres más largos se cortan. diff --git a/docs/editorial-work/whatsapp-forms.md b/docs/editorial-work/whatsapp-forms.md index d44c1ecf..9e3ba5b8 100644 --- a/docs/editorial-work/whatsapp-forms.md +++ b/docs/editorial-work/whatsapp-forms.md @@ -15,11 +15,11 @@ The guide follows the implementation in the Hellotext Rails repository: - [#7039](https://github.com/hellotext/hellotext/pull/7039) (merged): the form button on a WhatsApp template, the submitted form as an Inbox message and the answers saved to the contact. -- Branch `whatsapp-flow-composer` (not yet a pull request): the form tool in +- [#7040](https://github.com/hellotext/hellotext/pull/7040) (open): the form tool in the campaign editor and in the journey **Send a text message** step, the form button shown last under the message and in the preview, and the **Form submitted** card in the Inbox. Every interface label quoted in the guide comes - from this branch and can still change in review. + from this PR and can still change in review. ## Article inventory @@ -64,6 +64,8 @@ about **Ask a question** steps or playbooks, where the tool is not available. | A text field's label is cut at 20 characters | `WhatsApp::Flow::Builder::LABEL_LIMITS` | | The form's title and send button use the business's language | `WhatsApp::Flow::Builder#run` | | The form button is always the last button | `Template::Button.with_flow_last` | +| The button's text is the merchant's, up to 25 characters, and the default when left empty | `Compose::Toolbar::FlowComponent`, `compose/toolbar/flow_controller.js`, `WhatsApp::Template::Component::Button::TEXT_MAX_LENGTH` | +| Emojis are removed from the button's text | `Template::Button` title handling | | Answers replace the contact's values, including the name | `WhatsApp::Flow::Submitted#run` | | The Inbox lists the answers in the form's order | `Message::FlowReplyComponent` | From 65984e480eb250691044470268ce486062e37b64 Mon Sep 17 00:00:00 2001 From: rockwellll Date: Wed, 11 Nov 2026 14:50:18 -0300 Subject: [PATCH 4/4] Say what the form tool does at five checkboxes The tool now stops offering Checkbox properties once five are picked, so the guide says so in both languages and the work record no longer lists that case as unsettled. Co-Authored-By: Claude Fable 5.2 --- _i18n/en/numbers/whatsapp-forms.md | 2 +- _i18n/es/numbers/whatsapp-forms.md | 2 +- docs/editorial-work/whatsapp-forms.md | 9 ++++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/_i18n/en/numbers/whatsapp-forms.md b/_i18n/en/numbers/whatsapp-forms.md index e5903511..c5b8bdf4 100644 --- a/_i18n/en/numbers/whatsapp-forms.md +++ b/_i18n/en/numbers/whatsapp-forms.md @@ -80,7 +80,7 @@ Filling in a form does not subscribe the contact or change their consent. See [C - **One form per message.** Its button is always the last button. - **Button text.** You choose what the button says, up to 25 characters. If you leave it empty, it reads **Fill the form**. Emojis are removed. - **Questions are required.** The customer has to answer every question to send the form, except the birthday and the checkboxes. -- **Up to five checkboxes.** WhatsApp allows five Checkbox properties on a form. +- **Up to five checkboxes.** WhatsApp allows five Checkbox properties on a form. Once you have picked five, the tool stops offering Checkbox properties until you remove one. - **Keep property names short.** The property's name is the label of its question, and WhatsApp limits a text field's label to 20 characters. Longer names are cut. - **Campaigns and journeys.** The form tool is available in campaigns and in the **Send a text message** step of a journey. **Ask a question** steps, playbooks and Inbox replies do not have it. diff --git a/_i18n/es/numbers/whatsapp-forms.md b/_i18n/es/numbers/whatsapp-forms.md index 44d110dd..9dd46163 100644 --- a/_i18n/es/numbers/whatsapp-forms.md +++ b/_i18n/es/numbers/whatsapp-forms.md @@ -80,7 +80,7 @@ Completar un formulario no suscribe al contacto ni cambia su consentimiento. Con - **Un formulario por mensaje.** Su botón siempre es el último. - **Texto del botón.** Tú eliges lo que dice el botón, hasta 25 caracteres. Si lo dejas vacío, dice **Completar formulario**. Los emojis se quitan. - **Las preguntas son obligatorias.** El cliente tiene que responder todas las preguntas para enviar el formulario, salvo el cumpleaños y las casillas. -- **Hasta cinco casillas.** WhatsApp permite cinco propiedades de Checkbox en un formulario. +- **Hasta cinco casillas.** WhatsApp permite cinco propiedades de Checkbox en un formulario. Cuando ya elegiste cinco, la herramienta deja de ofrecer propiedades de Checkbox hasta que quites una. - **Usa nombres de propiedad cortos.** El nombre de la propiedad es la etiqueta de su pregunta, y WhatsApp limita la etiqueta de un campo de texto a 20 caracteres. Los nombres más largos se cortan. - **Campañas y rutas.** La herramienta de formulario está disponible en campañas y en el paso **Enviar un mensaje** de una ruta. Los pasos **Hacer una pregunta**, los playbooks y las respuestas del Inbox no la tienen. diff --git a/docs/editorial-work/whatsapp-forms.md b/docs/editorial-work/whatsapp-forms.md index 9e3ba5b8..f2d205be 100644 --- a/docs/editorial-work/whatsapp-forms.md +++ b/docs/editorial-work/whatsapp-forms.md @@ -60,7 +60,7 @@ about **Ask a question** steps or playbooks, where the tool is not available. | The question step has no form tool | `app/views/steps/panes/_question.html.erb` | | Which properties can be asked, and the field each one becomes | `WhatsApp::Flow::Builder::INPUTS` | | Every question is required except the birthday and checkboxes | `WhatsApp::Flow::Builder::ALWAYS_OPTIONAL` | -| At most five Checkbox properties | `WhatsApp::Flow::Builder::CHECKBOX_LIMIT` | +| At most five Checkbox properties, and the tool stops offering them after five | `WhatsApp::Flow::Builder::CHECKBOX_LIMIT`, `compose/toolbar/flow_controller.js` | | A text field's label is cut at 20 characters | `WhatsApp::Flow::Builder::LABEL_LIMITS` | | The form's title and send button use the business's language | `WhatsApp::Flow::Builder#run` | | The form button is always the last button | `Template::Button.with_flow_last` | @@ -72,10 +72,9 @@ about **Ask a question** steps or playbooks, where the tool is not available. Meta's requirement of a verified business with good messaging quality comes from Meta's WhatsApp Flows documentation, not from Hellotext code. -Two behaviors are not yet settled in the product and are deliberately left out -of the guide: what the merchant sees when Meta refuses a form, and what happens -when more than five Checkbox properties are picked. Add them once the tool -reports those cases. +One behavior is not yet settled in the product and is deliberately left out of +the guide: what the merchant sees when Meta refuses a form. Add it once the tool +reports that case. ## Visual decisions