A Flow with live data looks up your own system while the customer fills it in: free slots, stock or current prices. To publish it, follow this order. Step 4 is the one most often forgotten.
Who it's for: the account administrator or whoever connects your own systems. Screen: https://micuenta.whatsmarketing.es/whatsapp-flows
Before you start
- A connected WhatsApp number.
- An HTTPS address on your system that receives the Flow's requests.
- Administrator role to register the number's key.
Steps
- Go to Send → WhatsApp Flows («Enviar» → «WhatsApp Flows») and create the Flow with "Create Flow" («Crear Flow»), or with "Advanced JSON" («JSON avanzado») if you paste your own JSON.
- Choose the line and click "Upload to Meta" («Subir a Meta»). The Flow is now "Draft in Meta" («Borrador en Meta»).
- In the "Sending, CRM and data" («Envío, CRM y datos») tab, enter the address in "Own endpoint (optional, HTTPS)" («Endpoint propio (opcional, HTTPS)») and click "Generate a new secret" («Generar un secreto nuevo»). The secret starts with wmflow_ and is shown only once: copy all of it and save it in your system.
- Before publishing, go to "Settings and integrations" («Configuración e integraciones»). On the "Live data: endpoint key" («Datos en vivo: clave del endpoint») card, click "Register key" («Registrar clave») on the line that will send the Flow and wait for the "Key registered and signed" («Clave registrada y firmada») label.
- Go back to the Flow and click "Publish" («Publicar»).
What you see when you're done
- The Flow changes to "Published" («Publicado»), with the "Send" («Enviar») and "Use in a template" («Usar en una plantilla») buttons.
- Your system receives requests signed with the x-whatsmarketing-signature header, which you check with the secret.
If something goes wrong
- "Meta did not respond. Try again." («Meta no respondió. Vuelve a intentarlo.») when publishing: the number's key is missing. Do step 4 and click "Publish" again.
- You lost the secret: click "Generate a new secret" and change it in your system. The previous one stops working.
- The phone preview shows another account's name: it is only the preview, which uses the first account. The Flow is sent from the line you chose.
When to ask 24/7 Support for help
If you registered the key, you see "Key registered and signed" and Meta still won't let you publish. 24/7 Support: https://whatsappmarketing.zendesk.com/hc/es