Skip to content

Edit an action’s email

Tool name: edit_action_email

Changes the draft email of an action. Give only what changes; the rest is kept. A list of recipients replaces the whole list. Read the email first with get_action_email, which gives the body as HTML, and keep the body as HTML. Nothing is sent, and no tool here sends it. Show the person the changed email and get their agreement before saving it.

Input schema

idinteger, ( 0 .. 9007199254740991 ]required

The id of the action, as returned in the actions of get_action_group

subjectstring, non-empty
bodyHtmlstring, non-empty

The whole body, as HTML

toArray of objects
ccArray of objects
bccArray of objects
Input example
{ "id": 1, "subject": "string", "bodyHtml": "string", "to": [ { "email": "user@example.com", "firstName": "string", "lastName": "string", "contactId": 1, "userId": 1 } ], "cc": [ { "email": "user@example.com", "firstName": "string", "lastName": "string", "contactId": 1, "userId": 1 } ], "bcc": [ { "email": "user@example.com", "firstName": "string", "lastName": "string", "contactId": 1, "userId": 1 } ] }