Add Templates API guide - #51
Conversation
✅ Deploy Preview for legendary-lollipop-e2d131 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1d5fb5894a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ef17a46d29
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -0,0 +1,243 @@ | |||
| A template stores reusable message content in Hellotext. Create it once through the Templates API, keep its Hellotext ID, and use that ID when your backend sends an individual message through the Messages API. | |||
|
|
|||
| Creating a template does not send a message, create a campaign, or enable a playbook. Delivery still depends on the selected channel, the customer profile, consent, channel availability, and, for WhatsApp, Meta approval and the customer service window. | |||
There was a problem hiding this comment.
Remove the service window as a template prerequisite
When a backend sends an approved WhatsApp template after the customer service window has closed, the closed window does not prevent that send; it is precisely when a template is required, as this guide explains at line 202 and the WhatsApp fundamentals explain elsewhere. Describing delivery as depending on the window can lead integrators to suppress valid template sends or misdiagnose failures. Limit the window dependency to free-form messages, and make the equivalent correction in the Spanish guide.
Useful? React with 👍 / 👎.
Summary
Validation
yarn buildgit diff --cached --check