
Sent GetTemplate
CertifiedGet a Sent template
Sent GetTemplate
Get a Sent template
Fetches one template by Sent UUID.
type: io.kestra.plugin.sent.templates.GetTemplateExamples
Fetch a template
id: get_sent_template
namespace: company.messaging
inputs:
- id: template_id
type: STRING
tasks:
- id: get_template
type: io.kestra.plugin.sent.templates.GetTemplate
apiKey: "{{ secret('SENT_API_KEY') }}"
templateId: "{{ inputs.template_id }}"
Properties
apiKey *string
Sent API key
API key sent in the x-api-key header. Store it as a Kestra secret.
templateId *string
Template ID
Sent template UUID.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150baseUrl string
https://api.sent.dm/v3Sent API base URL
Sent API v3 origin. Keep the default in production. Custom HTTPS origins are intended for controlled proxies; plain HTTP is accepted only for loopback test servers.
connectTimeout string
PT10SConnection timeout
Maximum time allowed to establish the Sent API connection.
fetchType string
FETCH_ONESTOREFETCHFETCH_ONENONEFetch type
FETCH_ONE returns the resource as row, FETCH returns a one-item rows list, STORE writes it to internal storage, and NONE returns only size.
initialRetryInterval string
PT1SInitial retry interval
Initial exponential-backoff delay for retry-safe transient failures.
maxAttempts integerstring
3Maximum request attempts
Total attempts for retry-safe calls. GET requests are retry-safe; mutations retry only when an idempotency key is present.
maxRetryInterval string
PT30SMaximum retry interval
Upper bound for exponential backoff and provider Retry-After delays.
profileId string
Sender Profile ID
Optional Sender Profile UUID for x-profile-id scoping with an organization API key. Profile API keys must leave this unset.
readTimeout string
PT30SRead timeout
Maximum idle time while reading a Sent API response.
Outputs
row object
First fetched Sent resource
Populated only with fetchType: FETCH_ONE.
rows array
Fetched Sent resources
Populated only with fetchType: FETCH.
size integer
Fetched resource count
uri string
uriStored resource URI
Kestra internal-storage URI populated only with fetchType: STORE.