Skip to content

Write Email Contact Card

Tool name: update-email-editor-contact-card

Selects an existing account signature with vCard data (from search-signatures) for an email contact-card block. The signature’s vCard controls the displayed details; optional style sets padding, alignment or visibility. Revision-bound, atomic edit; drafts only; publishing is publish-newsletter-email-content.

Input schema

editorUrlstring, [ 12 .. 500 ] charactersrequired
contentRevisionstring, [ 7 .. 100 ] charactersrequired
uuidstringrequired
signatureIdinteger, >= 1required
styleobject
Default:null
accountIdnull or integer, >= 1
Default:null
Input example
{ "editorUrl": "stringstring", "contentRevision": "strings", "uuid": "string", "signatureId": 1, "style": null, "accountId": null }

Output schema

One of:
operationstringrequired

"replaced": the stored document is a new one; "unchanged": nothing was persisted.

Enum:"replaced""unchanged"
previousContentStatusstringrequired
Enum:"draft""published""unpublished_changes"
contentStatusstringrequired
Enum:"draft""published""unpublished_changes"
emailIdintegerrequired
contentRevisionstringrequired
warningsArray of stringsrequired
editorUrlstringrequired
createdArray of objectsrequired

What this write created, with uuids: after "addRow" the row and its columns, after "addModule" the block, plus the contentRevision the next write needs. Empty when nothing was created.

nextActionstringrequired

The content action still open: "review_and_publish_content" while the stored draft is not the dispatch content.

Enum:"review_and_publish_content""none"
Output example
{ "operation": "replaced", "previousContentStatus": "draft", "contentStatus": "draft", "emailId": 0, "contentRevision": "string", "warnings": [ "string" ], "editorUrl": "string", "created": [ { "operation": 0, "type": "row", "uuid": "string", "kind": "string", "columns": [ "string" ] } ], "nextAction": "review_and_publish_content" }