SendGrid Tools
Sendgrid Create A New Transactional Template Version
通过 Aident Loadout 使用 SendGrid Tools 的 Sendgrid Create A New Transactional Template Version。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5API 密钥连接
服务提供商说明
**This endpoint allows you to create a new version of a template.**
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- Name of the transactional template version. This helps identify different versions of the same template (e.g., 'Version 1', 'Holiday Update').namestring必填
- 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.activeinteger
- The editor type used to create the template version. 'code' for Code Editor, 'design' for Design Editor. Defaults to 'code' if not specified.editorstring
- Subject line of the email. Supports Handlebars substitution syntax for dynamic content (e.g., 'Hello {{first_name}}').subjectstring必填
- For dynamic templates only. A JSON string containing mock data for template preview and test sends. Example: '{"first_name": "John", "order_id": "12345"}'.test_datastring
- The ID of the transactional template to add a version to. Format: 'd-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' for dynamic templates or UUID for legacy templates.template_idstring必填
- The HTML content of the email template. Supports Handlebars substitution syntax for dynamic content (e.g., '{{first_name}}'). Maximum of 1048576 bytes (1MB) allowed.html_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.plain_contentstring
- If true, plain_content is always generated from html_content. If false, plain_content is not altered.generate_plain_contentboolean
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。