今すぐ始める
SendGrid Tools

Sendgrid Create A New Transactional Template Version

Aident Loadout を通じて SendGrid Tools の Sendgrid Create A New Transactional Template Version を使用します。実行前に入力、出力、設定、料金、リスクを確認できます。

書き込み Actionリスクレベル 2/5API キー接続

プロバイダーの説明

**This endpoint allows you to create a new version of a template.**

料金と制限

料金
無料 Action
統合支払い
現在未対応

入力

  • namestring
    必須
    Name of the transactional template version. This helps identify different versions of the same template (e.g., 'Version 1', 'Holiday Update').
  • activeinteger
    Set to 1 to make this version the active version of the template. Set to 0 or omit to create an inactive version. Only one version can be active at a time.
  • editorstring
    The editor type used to create the template version. 'code' for Code Editor, 'design' for Design Editor. Defaults to 'code' if not specified.
  • subjectstring
    必須
    Subject line of the email. Supports Handlebars substitution syntax for dynamic content (e.g., 'Hello {{first_name}}').
  • test_datastring
    For dynamic templates only. A JSON string containing mock data for template preview and test sends. Example: '{"first_name": "John", "order_id": "12345"}'.
  • template_idstring
    必須
    The ID of the transactional template to add a version to. Format: 'd-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' for dynamic templates or UUID for legacy templates.
  • html_contentstring
    The HTML content of the email template. Supports Handlebars substitution syntax for dynamic content (e.g., '{{first_name}}'). Maximum of 1048576 bytes (1MB) allowed.
  • plain_contentstring
    Text/plain content of the transactional template version. If not provided and generate_plain_content is true, it will be automatically generated from html_content. Maximum of 1048576 bytes allowed.
  • generate_plain_contentboolean
    If true, plain_content is always generated from html_content. If false, plain_content is not altered.

確認できる出力

  • 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

この Action を使用する Skills

関連ユースケース

検証済みの関連ユースケースはまだリンクされていません。

公式ソース

プロバイダーのソース