Sent UpdateContact

Sent UpdateContact

Certified

Update a Sent contact

Updates the contact's default channel and/or opt-out state with an idempotency key.

yaml
type: io.kestra.plugin.sent.contacts.UpdateContact

Validate an opt-out update in sandbox mode

yaml
id: update_sent_contact_sandbox
namespace: company.messaging

inputs:
  - id: contact_id
    type: STRING

tasks:
  - id: update_contact
    type: io.kestra.plugin.sent.contacts.UpdateContact
    apiKey: "{{ secret('SENT_API_KEY') }}"
    contactId: "{{ inputs.contact_id }}"
    optOut: true
    sandbox: true
Properties

Sent API key

API key sent in the x-api-key header. Store it as a Kestra secret.

Contact ID

Sent contact UUID.

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.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset 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.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
Defaulthttps://api.sent.dm/v3

Sent 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.

DefaultPT10S

Connection timeout

Maximum time allowed to establish the Sent API connection.

Default channel

New default channel, if it should change.

Defaultsent_{{ taskrun.id }}

Idempotency key

Stable key that makes retries safe. The default is unique and stable for this task run.

DefaultPT1S

Initial retry interval

Initial exponential-backoff delay for retry-safe transient failures.

Default3

Maximum request attempts

Total attempts for retry-safe calls. GET requests are retry-safe; mutations retry only when an idempotency key is present.

DefaultPT30S

Maximum retry interval

Upper bound for exponential backoff and provider Retry-After delays.

Opt out

New contact opt-out state, if it should change.

Sender Profile ID

Optional Sender Profile UUID for x-profile-id scoping with an organization API key. Profile API keys must leave this unset.

DefaultPT30S

Read timeout

Maximum idle time while reading a Sent API response.

Defaultfalse

Sandbox mode

When true, Sent validates the mutation without changing production data.

Sent response data

Provider resource data from the successful v3 response envelope.

Idempotent replay

Whether Sent returned a cached response for a previously completed idempotent request.

Sent request ID

Provider request identifier for support and correlation.

Sandbox response

Whether Sent confirmed that the mutation was simulated without side effects.