立即开始
WhatsApp Tools

Whatsapp Create Message Template

通过 Aident Loadout 使用 WhatsApp Tools 的 Whatsapp Create Message Template。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Create a new message template for the WhatsApp Business Account. Templates must be approved by WhatsApp before they can be used. Templates are required for marketing messages and messages sent outside the 24-hour window.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • namestring
    必填
    Unique template name. Must be lowercase, alphanumeric with underscores only. Maximum 512 characters. Example: 'order_confirmation_v1'.
  • categorystring
    必填
    Template category. AUTHENTICATION: for OTP/verification codes. MARKETING: for promotional content (requires opt-in). UTILITY: for transactional updates like order status, appointments.
  • languagestring
    必填
    Template language code in ISO 639-1 format with country code. Examples: 'en_US' (US English), 'es_ES' (Spanish), 'pt_BR' (Brazilian Portuguese).
  • componentsarray
    List of template components. Required when creating a template from scratch: must include at least one BODY component, and can optionally include one HEADER and one BUTTONS component. Omit when cloning a Template Library template via library_template_name.
  • allow_category_changeboolean
    Optional. Set to true to allow Meta to automatically assign/reassign the template category. If omitted, the template may be rejected due to miscategorization.
  • library_template_namestring
    Optional. The exact name of a Meta Template Library template to clone (e.g. 'order_confirmation_2'). When set, the template is created from the pre-approved library template instead of from scratch; components should be omitted.
  • library_template_body_inputsobject
    Optional. Used with library_template_name. Object supplying body-level inputs for the library template (e.g. {'add_contact_number': true, 'add_learn_more_link': true, 'add_security_recommendation': true, 'add_track_package_link': true, 'code_expiration_minutes': 10}).
  • library_template_button_inputsarray
    Optional. Used with library_template_name. List of button input objects supplying values for the library template's buttons (e.g. [{'type': 'PHONE_NUMBER', 'phone_number': '+15551234567'}] or [{'type': 'URL', 'url': 'https://example.com'}]).

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源