Embed template creation in your product, validate against Meta's
review rules, preview in React or Vue and create on Meta from your API.
$ npm i @talqui-oss/template-builder . . ... ,.. . . . ,::::,,,. . .... ......, . ... .... ,.,.,, .. . ,,...... . .. ,,.::,,,.. . ..,,,.. .
. ... , . . .. ,,::..,... . . . . ,,,,,,,.., ,,.... . ......... .... .... , ,,,,,, ,.... . ..,,,::,,... ..., . ..
. . ,. .. . .. ,,..,... . . ,,:...:,,, .... . .. . . ... ,,::,,, ,,... . ...,,:.:,,,. . . , ... . ...
. ... . .. ,,.. ..,,:.... . . ...,,,::::,.,, .... . . . ..... ,,,::::..,, .... . . . ..:,, . .. ... . ...
. , ,.. . .. ,.:: . . . ..,,:,.:.::. . . . . .. ,,..;:.,, .. . .,,.:,,. . .,,... . ...
. . ,, .. . .,,,::,. ..,,:::;..,,, . . . . . .. . . .,,:::;;::,. . ..,,:,, . . ,.. . .
. .. .. . ,:,, .. ..,.:;;;:, ,. . . . .. . . .... . . . . . ...;;.:,.. ,,:.,,. . ..,,. . .
.. ,. .. ,,::., . :::,;:., . . . . . . .. ,, ,,,,,,,,,,. ,,,., ,,,,,,,,,,,.... .. .,.,:.,.:, . . . ..,.:,. . .., .. .. ..
. . ..., . . ...:::, . .,,:;;.:, . . .,.:,,.:::.:.,,.. ., .. ....... .,., ,,,,:..::::,, .... . .,.::.;:, .. . .:,.. ..,... ..
. . ... .. . . .,,::,. .. .,,:;;:: .. . .. ..,,,::.:::.,,,,.. .. . . .., ,.,::::::.,,... ..,::;;.,,. ..,::,, . . .,... . ..
. . ...,,.. . .,.:, .. . . ::.;::. . ,,.::;;::.:,,... . . . .. ,,,::;.;;.:, ,. . . ..::;;.: . . . .. ,::,, . ,, .. ..
. ..,,.. .,,:., . . ..,:;.:.,.. . .,,.:.;.::..,.. . ., ,::;;;.:,,.. .,,:;;.:,. ...,,::.. .,... ..
. . .,. . , ::,.. .,,.;;:.,. .. .. .:;-;::,,.. . . . . . ..,..;;;;;:... ..,:;;:.,. ..,.:, . .., .. .
. .... . .,::,,. .,::;;., . . ,.:.-,..:, . . . . . ......... . .... . . .. , ...;-;;.,. . .,::;;:,. . ..:::, . .,,,.
... ... .,::,,.. .::;::, . ,:.--;.:,,. . . .. . ,,.,.,,,,.,,,,, ,,,,..,,,: ,. ,,,,,... . . ..;;--.:,.. .,:.;:,. .,,:,,. ..,, . ....
.... . .... . . ,..,,. . . .,.,;., . ...,.;--;:, . . . . ,::.:.:....:,,, . , .,........ ,,,,,,::.:;:::.:,,. . . .,:..--;:, .. . .,:... .. . ..,,::,. . .,,.. . . .
.. ...,,. ,,.,, . . ,:;:, . . . .,:;---;:,. . .::;;;;:::, ,,, . . . .......,,,,::.;;;..:,,.... .::;--.:,. .,:;::, . ::, .. .. .. ..
. ..,... .,.:.. . .,::;:,. .,::;-;::.. .,:::.;-;::., . . . . ... ,,:.;--,.:.,.. .,,..,,:, . .,:;.:.. ..,:, . . .. ,,. . ...
. . . ,.. .,,:,,. .. :.,:.,. . . .;--;, . . ,::;--;.::,,... . . . .,.:..,-;::,.. . . .,::--,:,. .:;;:, . .,.:, . . , .. .
. ...,.. . . :..,. ..:;.,.. .:;-,;.,.. . .,:;;---;::,.. . . . .. ::;;--;..,.. . ,:;-,;:. ...:;:, . .,:.,.. .,, .. .
. . ..,,.. . ..,.:,. ...:;:, . :;,-;, . . . ,..-,,;::, ..... .. ... ... . . ,:.-,,;.,,. .,..--;:.. . ..:;;.,. .,,:, . . .. ,. .
. .,. . . .,,:,. .,:;.. . .,..-,:,. . :;;-=,..,.. . ,,,..:::.:,:,::, ,:,:.,,.:.,:,,,,,,... .,:.-,-,:, , . .:,,;: . . . ,:.;:.. ,,:.,. .,,. .
.. ,... .,..,. . .,;;: . .,:;-,:, ,::-,=-;:,. .. . ,,..::;;;;;.:,.., .,,. ... .,,,,,,:::::.;;;::..,.. . .,:.-==-:, . ..;-.:,. . .,.;.: . . ,,:,, . .. ,,
., . .,,., ,:;:: ,:;-;:.. ,:;==,;:,. ..,.::;;,-,;::,, .,. . ... ..,,:::;;,;;.::,,.. . . :.,+=;:, .,:,-;:, . ,;;:,. . ..,:: . ...,
. ,.. ..,::. . ,:.;:,. . .:;-;... ..;,+-,;,. , . ,:.;---..:,,,,.. . . . . . .. ,.:;,---..:, . ..:,==,;.. . ,:;,.:, . :;;,.. .,,... ..,,.
.,... . .,::.. . :;:,. .:.,,;,.. .. :;==-;,. .,:;,,=-;;:,,.. . . . . ,.;;----;.,. , , ,:.-,=,., .,:--;:. . ...;.,. ,,.,.. . ,,..
,,. ,.:, ,.:;. .,:,-;., ,:-,=-:,. , . ,;;==,;;:, . . . ..:;--=-;... ,:,,,-:,. . . .,;--: . .. ,:..,. . ,::. . ..,.
.., .. .,.: . .,:;:: . .:;-;:, . :-==;:. :;-==-;.,.. ..... . .... ... ..... . ..,.,-==-;., ,:.==-:. . . ..-;., .:..: .,:, . .,, ..
.,.. ,,,, .,:;:. .,;-;:,. ,:-==;:, ..-==,;.,. . . ,,,:,:.:::..:.:...,:.::::::::,,,.... . .,:.,==-;:, ,:.==-. . .:--:,. . .,:;:,. ,:.,. .,,.. .
..,,. . :. . . .,:..,. . ,.;-;.. ,:-==;:. , , ...-=:=;:, . ..,,:::;;.;,;;;.::.,.,,, .. . ,,:,:.:.;;,-.;:::,, . . ,:-=:,-;,. .;-=-: .:.-.: . .;.,. .,,: ..,
..,. .,:,.. ,..;.. ..:,-:, . .;-=;:. .:,=:,-.,., ..,:::.-,--;::. .. . . .....,,:.;.;-,-;;.:,. .,;,:+,;: , , ..;==,: ,:,,.,. .:;;:, .::,.. ..,...
.... . ,:., .,:.;, ..;=;:.. . ,.-=-:, , , ,:-=+=;:, ..,.;;,,=;;..,,... ..,.:.;-,=-;:. , , , , .:,=:+-;, ,:-=,;:. .:.=;. . .,;;: . . :., . . ..,,.
..... . ,:, . . .,:;:,. . . ,.,-;, :,,,;, , :-++=.:. , ...;;-==-...,. . . . ,.:;-==-;;: , ,.:;=++-., .;-+,:. .,;,;: .,:;:, . ,,., .. ,,
,.. . :, . .,:;.,. .,.-;:. ..;==;:, ,:-+:=., .,..,=+=-;:. . . . ::;,==,;., , .;=++=:, .;==;:.. .;-:.. . :;:,. ,:: ..
,:,. ...:;:.. .. ..;-;.. . ,.-=-;, .;-++-;, , ,:.-:==;:,. . . .... . ............ . . .,:;=++,;:., ,;=++-:,, ,:-+-; .:;-.:. . :;... . . ,:, ..
,. ,,,, .,.;., ...,-.,. . ,;=,;.. ,,,, ..;++-;,, .,;-=+=-;, , .,,,:::::.:;::::::.:.:;.::.::.,,. . , .,:-=*,-;.. ,;-:=-.. ..;,=;.. .:;-;.. . :.;,. ...:,.
. . .,.,,. . .,:;: :,,:, ,:-=,:, .,=*,;, , .:-=+:=;:. , , .. ,:..;,-,-;;.::,:,, ,,, .,,,..:.;;--.;;:., . , ...-+:=-:. , ,.;=+=;, , .:-=-:. . ,;,-.. .. .;:,. ,.:,.
. .:,,. .,..:, . :-;:, . ,:,=-:, .:=:=,:. .:,+*=,: . ::;-==--.::,, . . . ..,,.::.,,,-,;;:,. . ;-,*+-., .:;+:,:, , .:-=,., ,.-;: ,:;:,. .,:.,
. . ...:.. ,:;:, . ,:-,:, .,;=,,, ..,,:-;, , ,:,+*=-.. ..;,-=,--.:,,. . ...,::;-=,-..,. .:,=*:-:, , ,.,++;: .,;-,;, ,:--:, ..;., .,:,..
. .,:,. . ,:;.,. ,:-.:, :.,-;, ,, ,:=+=;. ,;=*:=;: , , ,:.-,==-;:,.. . . . .. . ,:;,-+=-;. .:,,*:,:, :;=*-.. , ,;==,, .:-,:. . .,:.:, . .,:, .
. ,., . ..:;:, ;,;. . .:-=,:, , ,,;=+=:, , ,:-+#=;: ,:;-=+=-;, . . . ,:,-++-;.. , .:-+#:,:. , , ..-*=;, .:-+-, ,:;,., . :;: . . ,:,
. ,,... ..: . . :--: :;+-:. , .:,++-: ,,,+*+-.. ,.,.,+:=-... .... ...,..., .. . . .,;-=+=,;,. .:-+#:-, .,,=:-:. , :,=;:. . :;-., ..:;.. ...:,.
..:, . . :;;,. .:;-:, .. .:-+-:. .:-*=;, , ,.=*:=.. , .:,,::-;:. ..,,::.:;..:;..:.:.:;....:::,,,... , .,.-++=;.. ,, :,**=;. ,;=:-:. , :-=-:., .--:. ..::.. . ,.,,.
.,:, .,:;. :;-:, . :-+-:. , ,;=*,., ,-:#+;, , .:,+*+-:. .::.;,,-;;:..::,,,, ,,::.:..;----,;;::,. ,.,+*=-:. , ,-=#:-: ;=+=;, .:-+;: . ,:,-: .,;:,. ...:...
.,.,. ,:;., ..;-:, :;+,: ,.,+-:. .:=:*-:. ..-+*+-: , ..:.;--=-;.:., ,. . ...,,::;,,=,-;:., , ,:-:#+,.. .:-**=;. , .:-:=;, ,.:-=-.. .,;-;:. ,:;:,. .,.. .
. ..,. :;:, .,;-;,. .,-=,.. , ,;=:,:. ,;=#+;, .:-+#+,:. , ,,:;,=:=-;., . .. .. ,:;-,+,-;: :-+#+-. ,;:#:;, , ,-+=;, , ,.:-=-:.. .,;-; . .,:;:. . .:.
.,:, .,::, ,:-;, ,;,-:. ;+:-: :,+:,: ,,,,#:-; ,:;-=:=;:,.. . . ..::;====;: .:-**=;, :=*+-, :-:+.. , ,.-,-, . ..;-; . . ,..,. . :,.
.,:,.. :;: .:-,:. ,;=-:. .;++,. ,, , :=*+,: ;=*#,., , :;-+:=;;,. . .. ,.:-=+=-;. ,;,#*=., , :=:*=: , :;::;, .:,,;, .:,-. ,:;:,.. .,::..
,,:,. .,;., :;-., ,;,=;,, ,;=+-: :=*:-, , .,+#+-: .,;=:+-.:. .. .,,. .,.... . ..;-++=-,. ..-+#:,, ,-+*=:. :-++;, ,:,=. ,:-.. .,..: .,:..
. :,.. . .,;;.. . ,;=;, ,:-=;, ,,;=+-. .=#+;, ;-*#=;, , .-=*+-:,. .. ::::.:;..:::.;:;.:::::,,. . , . .-+*,;., ,, , ,;=#*,.. ,+*=: .,+=;. , ,;=-. .,;-:, .,.;,. ..,:,
,:,. .:;:. . .. .:-;... ..-=-,. , .:=+-:. ,:=*:;, ..:#*-: ,.;=*:-:, ,:.;.---;;:::,, ,,, .,.::;.;-,,;:,,.. ,:-+*+-: .-*;=; ,,::=;. .:,+=:. ,,-=-,. . .:,-: ,:;:. ,:,
,:,,. .,.... ,;-. ,;=-:. .:-*-:. :,*+;, ,;:;+,, ,.=*+=., ,::;,--;::, ... . . . ,,:;----;:,. , ,;-+*=;, .-+%:;, ,;::=: , .:=*-:, .:-=., . ,:-.:. .,;;,. .,:
.:,. ,:;., ,:-.,. ..-=; ,,+=;. .:-*+;, ,-*%+;. , ..-**+;,, , :;--=-;:... . .. ..:;,=--;, ,;+*:-: ,;+%:-, ,-+*-: .;,+,, , ,;=-:. .;-., ,:,:, ,:
:,, . .;, .,;-., :;=-:. , .:=;, .-*+-, ,, .-*;+; , ,.+**,:. ,.-,:=;:,. . .,:;-+--., , :,*#,;, .;+%*-, ,-**-, , .;=:. , :-,-. . .:--, .,;:,. ..
:.. :;:.. ,;,;, .;==;. .:=+-. ,;+:-: ,,-*#=;. , .,*#:. .,:-+,,:,. .,:,==-;.., ,;:#:-: .;+%:- ,, , .-*:-, :-+=. .:-,;, ,;,;, .. .:;., . .,
. . .,;.,. . .:;,: .:-=;, ,-+,;. , ;+*=: , ,,*%+;. .,*#=:. , , ,;- =,: . .......,.,.,. . . ,:,+=-;, .=:*,: ..+#+- :=:+; , :,+-, ,;=-: .:,;: .;;,. .,
, ,.;:, :,;,. ,;=-: .;=:,, ..,*:;. , ,;*;+. , , .=**-:. , .: :,, . . ,.:.:::::;::::::..:,,.. .;, :. ,:=*#=: .;+%+., ;=#=: ;+=; .:,=;, . :;-; ,:;,.
, . ,::,. ..;-:. .:-=;, , .:,+,:. , .-*+-, .;+%:;, , .:=;*-. ,. , , .,.;;;-;..:,,,, ,,,::.;.;;;.:.. ; * , :-*;=;. , .;:%+;. ,+*-, .,*,:. ,;=-: ..-;.. .:;:, .
, .:;:, .:-;: . ,;=-. ,;=:.. ;+#-. , , .=#:,, :=;*,. , ..- ,: .:.;,,;.,.,.. . ..,,:.;--;:,. .:- .. ,,*#=: , ,,-*#=: .=*+;. ,,;,:.. :-,;. .,;-: .,.;. .
:.: . ,;,., .:-+;, , :,+-: , :=#+;. ,,:#=: , :=#:,, , ,. ,;, .:;-,;..,. . . . .,.:;=-;:, ,.: :., .=:;=: ,,.=#*-, , ;+*-: , :,:-: ,;=-,. :-;, .:;:, . .
. ..:.:. .:-,.. ..--; ;=:; .;+*-. ..+%:;. , .,*#,:, , .;= =;, , .:.--;:, . .---;:, ,,,;= =;. :=#*-, , .;:%+;. ,-*+-, .;,=;, ;-=:. .:-;:. ..:.. .
. . ,;:,. .,;, ,;+-, :-+,:. .-:+; , ,=#*-, .-:%+: .;,: ;. .,;-,;... . :-=-.,, .;, ,.. .;+%+; , ,-:#-, , ;=#-. ,:=:,: , ,,=,, . .,.-:, .;;:. .
.:,., ,;-: .:-=;, , ;=+-, ,;+*,, , ,.+%=: ::%*-,, .. * :. , .:-,-; .....,,... . .,;-,-., .: * .. ,;*%:; :=#*;. ,-:+;. ,-+=;. ,,,;=-. . ,:-., ,:;:.
..:;, .:,-:. .:-=:. ,,;+=:.,,, ,,*+.. ,.,#*-, ,-##=. ..,* ;. :=,,: ..,:::.:.:::;.::,,, .-,,., .;: =: ,=#;=, .-*#=: ,;+:-. ,.:=+-, ,:-=: :-.:. :;:,
+
==+= ++=
=* = = ==
++ ++=
=* *=
# #
= #
= = = =
+ #
01Embed template creation
02Validate against Meta's rules
03Preview in React or Vue
04Create on Meta from your API
01What it does
Let your users create WhatsApp templates in your product, catch what Meta would reject before they submit, show the exact message their customers will get, and create it from your backend.
<TemplatePreview /> · edit the template in tab 01, the others follow
02In your product
Template creation, preview and validation for your users, and the Meta integration for your backend. Free and MIT licensed. See the editor →
01
Drop <TemplatePreview> into your React or Vue app, next to the editor your users already have.
ssr3xi18n02
Run the 73 checks Meta applies at review while users type, and again on your server before submitting.
73 rulescopy coderequired$ curl -X POST \
graph.facebook.com/v26.0/\
$WABA_ID/message_templates03
Turn the template into the Cloud API request in your Node backend, or into the call your provider expects.
verifiedverifiedbeta03Templates
Start from a template that already passes the rules, change the words and create it on your provider.
01 / 06
. . ..... .... . ....,.,,. ,, .::.:..:.:.:.:;.;.;;; .. .. . , ,-.-----=.-.=====.==.=======,== =++, ++++ ++,*,+* + ,, * *** ,, ,*
,, ,,, ,, : : :,..::. :. .. . . ;;.;.;.-..--..-.--...----.-=-.=,==. ==++ ,+,+++ ,,,+,,++ +* ,,+ + *,* ,*, **
.. . . .. , ,, ,,,,, .;.;;.;;;;.;;;;.;..--;...----.-..-----.-::: ,,, ,..=..== +==,=+ ++++,++,, , ,,* + ++ + **, * *
. ... ...... .:::::.:.;.::;::;...;;..;;;.;;;...;;-.-;----- : ::::: %%@ ;-==-. ,, .. ===.=., +,==+=,+,, ,+ +,, ++ ** , *,, * ,
, ,: ,::::, :.:. ::::: ::.;.:..;:;;.;.;;;;;.....- : ::: ;@%%@%%@@%%@@%% : =.==-=== =,,,===,++= ,+, ,,++ , ++* + ,,,* + *
,.,,, ,, ,,, , ::: , : , . : :::..::::::..;:..;;;;;;,:,:::::::::::: @%@@@@@%%%@%@ @@@@===., , ==,===,,==== +, =,,+ ,+ ,+, , +,++ , * * * *
. .. . ... .,... ,,,,, , ,,,,,,,, , ,,:: :,,.:.::::..:..:. . , : :.@%@@@@@@@%@%% , , %%%...=.======== =.= +,,= ,= ,++ +, ,+++ , , , * *
.. . ....... ... ,, ,, , , ,,,,,,,, ,,,: :,, ,::.: : . ,,,.:..;;%%%@%%%@@% %%==.-=.. . .=. =,== =+ ,,+ + ,,+,,+ * ,* , * , * * **
. . . ... . ...... .. . . ,,,,, ,, , ,, :;..;.;., :: %@@%@ , %@@=: ,=., ==,== =. =,,, + ,+,+,, + + * + , * ,,*,*
. .. .. .. ........ .,.. .,., , :: .::.:. . . ,: : %@% , @%%-::,..==,= =. ,,+= ++ ++++,, + ++ , , , ,**,
. . ... .. .. , ::,,,,.. ..;.;;:;%@% ,, , , , @%---=- ,.., ==+ , +,+++,= , ,+ + + + +, *+ **** *
.. . .. .... , , , , :.::::;.::.;:;%%% %@%: -. .. . === == ==,,,++ ++ + + + , , * ,,,, ,
.,. ,,,,,,, ::::::.:.::::;. .%%% , , @%%: :: ,,. =.== = ,==.=== , ,+ + + + ,, , +++, ,
....,.,. , ,:: :::::::::. .:.:.;.:;:@%, @@; : =-=, ,. ======== + +, , + ,+ ++ ++ ++ ,+
. ... ... . . ,, , ,, ,:::, :: :.::.:;:;;.;:;:.%%@ , %@@ -.-- ,== ===.,,== , ,= + + + , + + +, ,+ * +
. . ,, ,,, : :... ::::...:.:;::;..;:%%%, %@%= =-.. .======== , .= + + + + ++ , ++ ++ *
,,.. ,,, ,,, ,,,, , ::::,. ::: .. :::::...;::,, ::;@%% %%.. :,,-=.-===== == ,=, + + = ++ + , ++ ++ +
........, ,., ., ,,,,, : . ::: : ::..:::: .:;;.; @%@ %%% :-==....., = ,= = , , , + ++ ,, , + + +
... .... .. . ., ,, ,,,, ,,,,,,: : , :::::::: .:::. ,, ;..%% %@%-=-...-=. == === == , + += + , +,, ++ + , , ,
. . .... . ... , .,, ,,,,,,,,,,,,,: :, :. : :...: ..:::.::;%@% , %%@-=-.= == =,= == = , ,+ , + ++,,++ , + ++
. . .. .. , . , ,,,, ,, ,,, ,,,:, .:::. ::...::.. :::%@@ @%%-. , ... .== = , , == +, ,+++++ , ,+ ++
. . ..... .,.., ,,,,,, , ,,, ,,: :::.:::::.. ,,:;.. %@ %%% : : ,-. ==. . = == ,= , , + ++++++ , + ++
. . ... ...... . . .,,, ,,, ,, ,, ,, :,:: ::. :. :.:.: : @%@ , @%@ .- ., =.- . . . +, , + +,+ +,, + , +,
. .. . . .... .... . ,. , , , , , ::,,: .::. :::. . , :@%@ @%%-=: ,..- ,. , , == + = + ==+ +,+ + ,, ++ ,
. . . . . ... , ,,, , , ,,,::,::: ::... . ,, ::@@ , , @% -.- ..=. . , == = = . =,, =,, = , +,+ +
. ... . . ..... .,, ., ,,, ,,,,,., :.:.. . . , .;:%%% , @%@--., ,. . . = == = = , ,,, ==+ + + + ,+ ,+
. . ... .. . ,, ,, , , , : , : .:.:;;:;%@% %@@: - . - = .== = , = =., ,.= , = ,, +++ +
.. .. ...... ,,. ,, ,,,, , ::..:::.,::;%% , %@ .- ,. - . .= = = = ==,, = , , = =+ == +
.... . ,.. . ,, ,, : :... , :;:; @%@ , , @%%: : ,.,. -. =. . = = .,== , = = = = =,+ ,
.. . ... . .... , , ,, ::...::: ...,,: :%@% , , %%@ -,,.-. =.- = = = ..== , , = ,== =
. .. . . ,, ,, ::.: .::. :;:%%%, , , , -= %% -: ,--. . -.= = == = ,.,= = = = == ,=. ,,
... .. ...... ., ,. ,: ,,:, .:: .. ..:::.%%% =-=-===-=-= @@@::--, .. .. = - . =.== . . = = = === ,
. . . ... . .... , ,,,,,:::. :.. ::;.:;::.;%% , ---===--==-=----==- , , @@@;. , .--- . . = =.== .= . , = = ,== ==
. ... .... , ,,,, , : :, .:::::.::..:%@@ ,=--=--=--==-=----=-=- , %@::: , .--. . - = -.=. .. , . =. === =
. ...... ,,,, , ,, ,::: : :::.::::::::.:%%@ ,---==-==--=--= =-==-==- %%%:: ,--- -- . -= .==. =. = = = .= =.,= ==
.... , ,, ,,,, ,, ..:::.:.::.: ::.: :;%% -===== ,--=-=--===-==-= @%%;:-.. .. - -- - .--- -= = = . = =.= = ,
. ., . ,,,, ,, ,, : :.:::: . :::..: :%@% ==---==-=-=---=----=- , @%%-.:, ,.. -- . - --=-= .= = = = ,= ...= ,, ,
. . , ,.. , ,, :, : :,,:,: :::. . ,::%%% ---=--===-=------= , %%%- :, , - - - ..-.. -- . = - .= .== =,
. ... . .. , ,, :, :,,,:.:: ::: ..,. .:%@ -==--==-=- , %% :: , ..-- -- .---- .- - = = = -,== .= =
. ... ., ,, ,,, ,,:::, :,::.:: . . :::;@%% , %%% : -,.-. - .-.-. -= . = - .= =,=, -= ,
... . .. ,.., ,,,, ,,, ,:,: ,, .. ., ::%@% , , @%@;::. -- ..- -.--- -. . . = -- .=-. =. ==
.. .... .. . , . ,, , , ,,,: ..:. , :.:@@ , , , %%:.-,.- ... ---..- -- . - - =. -==, -= . =
.. . . . . .. ,,.,,,,, ,, ,,, ,, : :: ,,:::.%@@ , ,, @%%: ., -.. -.--- .- - - -. -. --.- - . =
. . . .. . . . ..,, ,, , , : . .. :::.:%@@ , , %%@-. - . .---- -. -- - - .- .-=. -- - =
. . ..... . ., ,. ,,,,,, ,, , :,: ::::: ,:: %% , , %@%:: --, ...-;- -- .. - . .. ---- =. = .=
...,.. . .,,,.., , , ,, :...::,, ::%@% , , %@% : ;; .-..-. --- -. -- . --- ---. .. = --
. .. . .. .., .. , ,: :. .: ,::::%%% , %@%%% :;, ,-.;.-- --- -. . . -. ---.- .- . ..
. ... ......,.. ,.,, , ,,, : ,:: .. .:, ;%%@ , , %@@@%@%@@% : ;: ,-;.;-; -.; .. - - .- ---- -. - ---
....... .. ... . . , , .::, ,.. , : %@@ @@%@@%%@%@%@%. ;;:::;;,,,;;;.;- ..; -- - - ..- --.-. .. - ---
. . ..... . .. ... ,, , ,, ,, ,:... , ::.@%%@ , %%@@@%%%@@@@@;:;::;;::..: :.., ..-;;. ;;- .; ; . -- -.-. -- - ---
... ... . .. ... . ,,,,,, : ., :: ::;@%@%%%%%@%%@%@;.;:: :: :;. ,; , . ,....;... -;; -- . - -- -.--- -- . ---
. .. . .... .,,, , ,,, :: . .:,, ::::: %@@;: :;.;; :: , , ; ;. ,.., .;..;;; .;; .; -- -- .-. .-..- -.- . -..-
... ........ . ,. ,, ,,, , :: ,:.: :: : :::: ,,:,, , .;, .; ..;; ..;.;;.; ;.. -; .; ; .-- ---.. .- . .---
.. .. . ... .. ,,,,,, ,, : . ..: ,,:, : ::::.., , ,, :;..; ;. ;;;;.; .;; .; -; . -. -.-.. --- -. -...
#%#######
#%#############%##
#%#%%##%####%#%%#%%%#%%%%%
#######%%###%####%##%%####%%
%%%%##%%##%###%###%#%###%%###
###%%#%##%%###%####%%#######%
##%%#%%%######%#%##%#%####%#%
%#%################%###%%%
%#%%%#####%#%%#%#%
##%#%%%#% ***+***+*
*+*+***+****+*****
**+*++********+*+*++****+*
+**+++**+***++**+*****+****+*
++*+****+++***+***+*****+****
+****+**++***+*******++*++**
+++******++****+*++**
*****+***+***
*+*+
✳ Templateorder_shipped, approved by Meta
and sent to 12,480 customers.
◎ CustomerTracking it now, thanks!
04Integrations
Create the template on your WhatsApp Business Account.
import { toRequests, toCurl } from "@talqui-oss/template-builder";
import { meta } from "@talqui-oss/template-builder/adapters/meta";
const requests = toRequests(template, meta({ wabaId: "123" }));
console.log(toCurl(requests));05With AI
Install the skill and your coding agent knows the schema, the review rules and the catalog. It works with Claude Code, Cursor, Codex and any agent that reads skills or llms.txt.
$ npx skills add talqui-oss/template-builder06Open source
template-builder is maintained by Talqui, the multichannel inbox that creates and sends WhatsApp templates for its customers every day.
Star on GitHubNothing leaves your app. No API key, no network call. The package only builds requests; you send them.
One typed schema. A JSON Schema and TypeScript types for every field WhatsApp accepts.
MIT licensed. Use it in closed products, fork it, write adapters for anyone.
07FAQ
Talqui is a multichannel inbox, and our customers create and send WhatsApp templates every day. We kept paying for the same problems: previews that did not match the phone, templates rejected for rules nobody had written down, and a different API for each provider. Every team that sends WhatsApp at scale runs into the same wall, so we turned our solution into a free, open-source library the whole market can use.
An open-source SDK to preview, validate and create WhatsApp message templates. You describe the template as JSON and get a pixel-true preview, the review rules WhatsApp applies and the request for your provider.
No. It builds the request that creates a template and leaves the sending to you or your provider. Your tokens never pass through the package.
It was calibrated against screenshots of an iPhone: line breaks match and positions are within half a point. Android is next.
Meta Cloud API and Talqui are verified end to end. Twilio is available and still being verified. Any other provider takes one adapter.
The preview takes a public URL. Uploading the sample file is a step of your provider, so the adapters leave a placeholder for its handle.
Yes. It is MIT licensed, with no account and no usage limits.
Free and open source.
No account required.
$ npm i @talqui-oss/template-builder