SureContact
surecontactSureContact is a marketing automation and CRM platform for managing contacts, companies, deals, campaigns, lists, forms, purchases, reports, and related workflows.
Acciones disponibles (26)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create Campaign DraftSURECONTACT_CREATE_CAMPAIGN_DRAFTAcciónCreate a campaign in draft status without sending or scheduling email. Optionally configure content, sender details, tracking, and recipient filters for later review in SureContact.
SURECONTACT_CREATE_CAMPAIGN_DRAFTAcciónCreate a campaign in draft status without sending or scheduling email. Optionally configure content, sender details, tracking, and recipient filters for later review in SureContact.
Parámetros de entrada
namestringObligatorioCampaign name, up to 255 characters.
subjectstringEmail subject. When omitted, the selected template may supply it.
reply_tostringReply-to email address.
from_namestringSender display name.
from_emailstringSender email address.
track_opensbooleanWhether a future send of this campaign should track opens.
html_contentstringHTML email content. When omitted, the selected template may supply it.
preview_textstringInbox preview text. When omitted, the selected template may supply it.
track_clicksbooleanWhether a future send of this campaign should track link clicks.
template_uuidstringEmail-template UUID used to seed the subject, preview text, and HTML.
exclude_tag_uuidsstring[]Tag UUIDs to exclude from the campaign audience.
include_tag_uuidsstring[]Tag UUIDs to include in the campaign audience.
exclude_list_uuidsstring[]List UUIDs to exclude from the campaign audience.
include_list_uuidsstring[]List UUIDs to include in the campaign audience.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Landing Page DraftSURECONTACT_CREATE_LANDING_PAGE_DRAFTAcciónCreate a landing page in draft status without publishing it or making a public URL live. Optionally initialize the draft from page-builder design JSON or an existing page template.
SURECONTACT_CREATE_LANDING_PAGE_DRAFTAcciónCreate a landing page in draft status without publishing it or making a public URL live. Optionally initialize the draft from page-builder design JSON or an existing page template.
Parámetros de entrada
namestringObligatorioLanding-page name, up to 255 characters.
descriptionstringShort description of the landing page, up to 1000 characters.
design_jsonanySureContact page-builder design JSON used to initialize the draft. The official reference labels this an object but sends an array in every request example; the internal page-builder schema is not published.
template_uuidstringPage-template UUID used to initialize the draft.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create SegmentSURECONTACT_CREATE_SEGMENTAcciónCreate a tag or contact list. A dynamic list continuously evaluates its filters; a static list is manually managed.
SURECONTACT_CREATE_SEGMENTAcciónCreate a tag or contact list. A dynamic list continuously evaluates its filters; a static list is manually managed.
Parámetros de entrada
namestringObligatorioUnique display name, up to 255 characters.
colorstringSix-digit hex color for a tag; valid only when segment_type is tag.
filtersobjectFilter criteria object for a dynamic list. SureContact does not publish the object's condition schema. Valid only for dynamic lists.
list_typestringenumList type: static or dynamic; used only when segment_type is list.
staticdynamicdescriptionstringOptional explanation of the segment, up to 1000 characters.
segment_typestringObligatorioenumSegment to create: tag or list.
taglist
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create TaskSURECONTACT_CREATE_TASKAcciónCreate an actionable workspace task linked to one or more contacts and optionally assign it. Workspace notification settings may notify the assignee.
SURECONTACT_CREATE_TASKAcciónCreate an actionable workspace task linked to one or more contacts and optionally assign it. Workspace notification settings may notify the assignee.
Parámetros de entrada
titlestringObligatorioTask title, up to 255 characters.
due_dateanyDue date as an ISO-8601 date (YYYY-MM-DD) or date-time. SureContact's documented date-time example omits a timezone.
descriptionstringTask details, up to 10,000 characters.
contact_uuidsstring[]ObligatorioOne or more existing contact UUIDs to associate with the task. SureContact requires every task to be linked to an entity.
task_type_uuidstringUUID of an existing task type.
assigned_to_uuidstringUUID of an existing workspace user to assign the task to.
reminder_offset_minutesintegerReminder lead time in minutes; must be at least 1.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Enroll Contact In SequenceSURECONTACT_ENROLL_CONTACT_IN_SEQUENCEAcciónEnroll one contact in an active sequence by UUID or email. This irreversible operation is asynchronous and can trigger sequence actions, including real external email, shortly after the request is accepted.
SURECONTACT_ENROLL_CONTACT_IN_SEQUENCEAcciónEnroll one contact in an active sequence by UUID or email. This irreversible operation is asynchronous and can trigger sequence actions, including real external email, shortly after the request is accepted.
Parámetros de entrada
contact_uuidstringContact UUID. Provide exactly one of contact_uuid or contact_email.
contact_emailstringemailContact email. Provide exactly one of contact_email or contact_uuid.
sequence_uuidstringObligatorioUUID of the active sequence to enroll the contact in.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Campaign PerformanceSURECONTACT_GET_CAMPAIGN_PERFORMANCEAcciónGet campaign details, live sending progress, or one page of per-contact delivery and engagement results without changing campaign state.
SURECONTACT_GET_CAMPAIGN_PERFORMANCEAcciónGet campaign details, live sending progress, or one page of per-contact delivery and engagement results without changing campaign state.
Parámetros de entrada
viewstringenumResult view: details, progress, or contacts.
detailsprogresscontactscursorstringFor contacts view, continuation cursor from a previous call.
openedbooleanFor contacts view, filter by whether the email was opened.
searchstringFor contacts view, search recipient identity fields.
statusstringenumFor contacts view, filter by delivery status.
pendingqueuedsentdeliveredfailedbouncedclickedbooleanFor contacts view, filter by whether a link was clicked.
per_pageintegerFor contacts view, maximum recipients on this page (1-100).
campaign_uuidstringObligatorioUUID of the campaign.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ContactSURECONTACT_GET_CONTACTAcciónRetrieve one contact by UUID or email address without changing it.
SURECONTACT_GET_CONTACTAcciónRetrieve one contact by UUID or email address without changing it.
Parámetros de entrada
emailstringContact email address; provide exactly one of email or contact_uuid.
contact_uuidstringContact UUID; provide exactly one of contact_uuid or email.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ReportSURECONTACT_GET_REPORTAcciónRead one SureContact analytics report for a selected date range: overview, contact growth, email sending, email engagement, link clicks, unsubscribes, bounces, ecommerce revenue, products, or campaign summary.
SURECONTACT_GET_REPORTAcciónRead one SureContact analytics report for a selected date range: overview, contact growth, email sending, email engagement, link clicks, unsubscribes, bounces, ecommerce revenue, products, or campaign summary.
Parámetros de entrada
limitintegerFor link_clicks or products, maximum ranked items (up to 500 or 100 respectively).
sourcestringenumFor revenue, filter by purchase source.
allwordpressshopifyapimanualstatusstringenumFor campaigns, filter by campaign status.
allsentdraftscheduledsendingend_datestringISO date required when date_range is custom.
group_bystringenumTime grouping: day, week, or month.
dayweekmonthdate_rangestringenumDate range: today, yesterday, 7_days, 30_days, 90_days, 12_months, or custom.
todayyesterday7_days30_days90_days12_monthscustomstart_datestringISO date required when date_range is custom.
bounce_typestringenumFor bounces, filter all, hard, or soft bounces.
allhardsoftfilter_typestringenumFor contacts_growth, filter overall contacts, one tag, or one list.
overalltaglistfilter_uuidstringTag or list UUID required for a tag/list contacts_growth filter.
report_typestringObligatorioenumReport to return: overview, contacts_growth, emails_sending, emails_engagement, link_clicks, unsubscribes, bounces, revenue, products, or campaigns.
overviewcontacts_growthemails_sendingemails_engagementlink_clicksunsubscribesbouncesrevenueproductscampaignscompare_withstringenumComparison: none, previous_period, previous_month, previous_year, or custom.
noneprevious_periodprevious_monthprevious_yearcustomcampaign_uuidstringFor link_clicks, optionally restrict results to this campaign UUID.
compare_end_datestringISO comparison end date required when compare_with is custom.
compare_start_datestringISO comparison start date required when compare_with is custom.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CampaignsSURECONTACT_LIST_CAMPAIGNSAcciónSearch and page through email campaigns by lifecycle status without changing them.
SURECONTACT_LIST_CAMPAIGNSAcciónSearch and page through email campaigns by lifecycle status without changing them.
Parámetros de entrada
cursorstringContinuation cursor returned by a previous call.
searchstringSearch campaign names or subjects.
statusstringenumCampaign lifecycle status to return.
draftscheduledsendingsentpausedcancelledfailedsort_bystringenumCampaign field used to sort the results.
namestatussend_atscheduled_atcompleted_atcreated_atupdated_atper_pageintegerMaximum campaigns to return on this page (1-100).
sort_orderstringenumSort direction: asc or desc.
ascdesc
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ContactsSURECONTACT_LIST_CONTACTSAcciónSearch and page through contacts in the connected workspace without changing them.
SURECONTACT_LIST_CONTACTSAcciónSearch and page through contacts in the connected workspace without changing them.
Parámetros de entrada
cursorstringContinuation cursor returned by a previous call.
searchstringSearch text for matching contacts, up to 100 characters.
per_pageintegerMaximum contacts to return on this page (1-100).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Contact TimelineSURECONTACT_LIST_CONTACT_TIMELINEAcciónPage through either notes or activities for one contact, newest first, without changing the timeline.
SURECONTACT_LIST_CONTACT_TIMELINEAcciónPage through either notes or activities for one contact, newest first, without changing the timeline.
Parámetros de entrada
daysintegerFor activities, restrict results to the last N days.
cursorstringContinuation cursor returned by a previous call.
to_dateanyFor activities, include entries through this ISO-8601 date or date-time.
per_pageintegerMaximum entries to return on this page (1-100).
from_dateanyFor activities, include entries from this ISO-8601 date or date-time.
entry_typestringObligatorioenumTimeline entries to return: note or activity.
noteactivitycontact_uuidstringObligatorioUUID of the contact.
activity_typestringenumFor activities, filter by a documented SureContact activity type.
email_sentemail_openedemail_clickedform_submittednote_addednote_updatednote_deletedtag_addedtag_removedcontact_createdcontact_updatedlist_added+7
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Form SubmissionsSURECONTACT_LIST_FORM_SUBMISSIONSAcciónSearch and page through submissions captured by one form without changing them.
SURECONTACT_LIST_FORM_SUBMISSIONSAcciónSearch and page through submissions captured by one form without changing them.
Parámetros de entrada
cursorstringContinuation cursor returned by a previous call.
searchstringSearch submission fields, up to 100 characters.
statusstringExact submission status to return. SureContact exposes this filter but does not publish accepted values; omit it unless the status is known from the workspace.
to_dateanyInclude submissions on or before this valid date or date-time.
per_pageintegerMaximum submissions to return on this page (1-100).
form_uuidstringObligatorioUUID of the form whose submissions to return.
from_dateanyInclude submissions on or after this valid date or date-time.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Marketing AssetsSURECONTACT_LIST_MARKETING_ASSETSAcciónList one page of forms, email templates, or landing pages available for campaigns and lead capture.
SURECONTACT_LIST_MARKETING_ASSETSAcciónList one page of forms, email templates, or landing pages available for campaigns and lead capture.
Parámetros de entrada
cursorstringContinuation cursor returned by a previous call.
searchstringSearch assets by name or provider-supported text fields.
statusstringenumFor forms, filter by draft or published. For landing pages, filter by draft, published, scheduled, or archived.
draftpublishedscheduledarchivedsort_bystringenumProvider-supported sort field for the selected asset type.
namesubjectcreated_atupdated_atsubmission_countview_countstatusper_pageintegerMaximum assets on this page (1-100).
asset_typestringObligatorioenumAsset resource: form, email_template, or landing_page.
formemail_templatelanding_pagesort_orderstringenumSort direction: asc or desc.
ascdesctemplate_typestringenumFor email templates, filter by drag_drop, html, or rich_text.
drag_drophtmlrich_text
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List PurchasesSURECONTACT_LIST_PURCHASESAcciónPage through tracked purchases with optional contact, status, and source filters.
SURECONTACT_LIST_PURCHASESAcciónPage through tracked purchases with optional contact, status, and source filters.
Parámetros de entrada
cursorstringContinuation cursor returned by a previous call.
sourcestringExact purchase source to return. SureContact exposes this filter but does not publish its accepted values.
statusstringExact purchase status to return. SureContact exposes this filter but does not publish its accepted values.
per_pageintegerMaximum purchases to return on this page (1-100).
contact_uuidstringOnly return purchases associated with this contact UUID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List SegmentsSURECONTACT_LIST_SEGMENTSAcciónList tags or lists used to segment contacts, with search and archive filtering where supported.
SURECONTACT_LIST_SEGMENTSAcciónList tags or lists used to segment contacts, with search and archive filtering where supported.
Parámetros de entrada
cursorstringContinuation cursor returned by a previous call.
searchstringFor tags, search by name or slug.
archivedstringenumArchive filter: false for active, true for archived, or all.
falsetrueallper_pageintegerMaximum segments on this page (1-100).
segment_typestringObligatorioenumSegment resource to list: tag or list.
taglist
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TasksSURECONTACT_LIST_TASKSAcciónPage through workspace tasks without changing completion or assignment state.
SURECONTACT_LIST_TASKSAcciónPage through workspace tasks without changing completion or assignment state.
Parámetros de entrada
cursorstringContinuation cursor returned by a previous call.
per_pageintegerMaximum tasks to return on this page (1-100).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List WorkflowsSURECONTACT_LIST_WORKFLOWSAcciónList automations or email sequences available in the workspace without starting them.
SURECONTACT_LIST_WORKFLOWSAcciónList automations or email sequences available in the workspace without starting them.
Parámetros de entrada
cursorstringContinuation cursor returned by a previous call.
searchstringFor sequences, filter by sequence name.
statusstringenumFor sequences, filter by status.
draftactiveinactiveper_pageintegerMaximum workflows on this page (1-100).
workflow_typestringObligatorioenumWorkflow resource to list: automation or sequence.
automationsequence
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Log Contact InteractionSURECONTACT_LOG_CONTACT_INTERACTIONAcciónCreate a note or activity on a contact's timeline. This permanently adds workspace-visible history attributed to the API-key owner.
SURECONTACT_LOG_CONTACT_INTERACTIONAcciónCreate a note or activity on a contact's timeline. This permanently adds workspace-visible history attributed to the API-key owner.
Parámetros de entrada
titlestringOptional note title, up to 255 characters. Valid only for notes.
contentstringObligatorioNote content or activity description. Notes allow up to 10,000 characters; activities allow up to 1,000 characters.
metadataobjectOptional activity metadata as key-value pairs. Valid only for activities.
entry_typestringObligatorioenumTimeline entry to create: note or activity.
noteactivitycontact_uuidstringObligatorioUUID of the contact receiving the timeline entry.
activity_typestringenumSureContact activity type. Required for activities and invalid for notes.
email_sentemail_openedemail_clickedform_submittednote_addednote_updatednote_deletedtag_addedtag_removedcontact_createdcontact_updatedlist_added+7
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Record PurchaseSURECONTACT_RECORD_PURCHASEAcciónRecord an external purchase in SureContact without charging a payment method. Identifying the buyer by email may create a new contact.
SURECONTACT_RECORD_PURCHASEAcciónRecord an external purchase in SureContact without charging a payment method. Identifying the buyer by email may create a new contact.
Parámetros de entrada
statusstringenumPurchase status: completed, cancelled, refunded, or pending.
completedcancelledrefundedpendingcurrencystringThree-character currency code.
discountnumberTotal discount amount in the purchase currency.
metadataobjectAdditional purchase metadata as key-value pairs.
order_idstringObligatorioUnique order identifier from the source system. SureContact names this field order_id in create requests and responses.
productsobject[]Structured product line items included in the purchase.
tax_amountnumberTax amount in the purchase currency.
coupon_codestringApplied coupon code.
contact_uuidstringExisting contact UUID; provide exactly one contact identifier.
purchased_atstringISO-8601 timestamp when the purchase occurred.
total_amountnumberObligatorioTotal order amount in the specified currency.
contact_emailstringContact email address; SureContact may create the contact if it does not exist. Provide exactly one contact identifier.
transaction_idstringPayment transaction identifier.
shipping_amountnumberShipping amount in the purchase currency.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send EmailSURECONTACT_SEND_EMAILAcciónQueue one email for immediate asynchronous delivery to one external recipient. Executing this action sends a real external email and may create engagement tracking events; it does not create a draft or preview and cannot be undone.
SURECONTACT_SEND_EMAILAcciónQueue one email for immediate asynchronous delivery to one external recipient. Executing this action sends a real external email and may create engagement tracking events; it does not create a draft or preview and cannot be undone.
Parámetros de entrada
subjectstringSubject sent in the external email. Required with html_body when no template is used; this is delivery content, not draft or preview content.
reply_tostringemailReply-to address placed on the external email that this action sends; no draft or preview is created.
from_namestringSender display name used on the external email that this action sends; no draft or preview is created.
html_bodystringHTML delivered in the external email. Required with subject when no template is used; calling this action sends it rather than saving a draft or preview.
variablesobjectVariables substituted into the template before the external email is sent; these values are not used for a draft or preview.
from_emailstringemailSender address used on the external email that this action sends; no draft or preview is created.
track_opensbooleanWhether to track opens of the externally delivered email; execution sends rather than drafts or previews the message.
contact_uuidstringUUID of the recipient who will receive the real external email. Provide exactly one recipient identifier; this action does not create a draft or preview.
track_clicksbooleanWhether to track link clicks in the externally delivered email; execution sends rather than drafts or previews the message.
contact_emailstringemailAddress that will receive the real external email. Provide exactly one recipient identifier; this action does not create a draft or preview.
template_uuidstringWorkspace email-template UUID whose content will be sent externally. Inline subject or HTML overrides template values; no draft or preview is created.
smtp_configuration_uuidstringSMTP configuration used for the real external send. Omit to use the workspace default; this action does not create a draft or preview.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Contact StatusSURECONTACT_SET_CONTACT_STATUSAcciónChange a contact's deliverability or subscription status. Setting unsubscribed, bounced, invalid, or complained can stop future messaging.
SURECONTACT_SET_CONTACT_STATUSAcciónChange a contact's deliverability or subscription status. Setting unsubscribed, bounced, invalid, or complained can stop future messaging.
Parámetros de entrada
statusstringObligatorioenumNew status: pending, active, unsubscribed, bounced, invalid, or complained.
pendingactiveunsubscribedbouncedinvalidcomplainedcontact_uuidstringObligatorioUUID of the contact to change.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Task CompletionSURECONTACT_SET_TASK_COMPLETIONAcciónMark a task done or reopen it as not done. This immediately changes the task's completion state.
SURECONTACT_SET_TASK_COMPLETIONAcciónMark a task done or reopen it as not done. This immediately changes the task's completion state.
Parámetros de entrada
completedbooleanObligatorioSet true to mark the task done, or false to reopen it as not done.
task_uuidstringObligatorioUUID of the task whose completion state should change.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Start Contact AutomationSURECONTACT_START_CONTACT_AUTOMATIONAcciónStart an active automation for one contact. This irreversible operation is asynchronous and can trigger actions, including real external email, shortly after the request is accepted; it does not wait for those actions to finish.
SURECONTACT_START_CONTACT_AUTOMATIONAcciónStart an active automation for one contact. This irreversible operation is asynchronous and can trigger actions, including real external email, shortly after the request is accepted; it does not wait for those actions to finish.
Parámetros de entrada
contact_uuidstringObligatorioUUID of the contact to start the automation for.
automation_uuidstringObligatorioUUID of the active automation to start.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Unenroll Contact From SequenceSURECONTACT_UNENROLL_CONTACT_FROM_SEQUENCEAcciónSynchronously cancel a contact's active executions in a sequence and mark its subscriber state as cancelled. The response reports cancelled_executions; zero means the idempotent request found no active execution. Actions already sent or completed cannot be undone.
SURECONTACT_UNENROLL_CONTACT_FROM_SEQUENCEAcciónSynchronously cancel a contact's active executions in a sequence and mark its subscriber state as cancelled. The response reports cancelled_executions; zero means the idempotent request found no active execution. Actions already sent or completed cannot be undone.
Parámetros de entrada
contact_uuidstringContact UUID. Provide exactly one of contact_uuid or contact_email.
contact_emailstringemailContact email. Provide exactly one of contact_email or contact_uuid.
sequence_uuidstringObligatorioUUID of the sequence to unenroll the contact from.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Contact MembershipsSURECONTACT_UPDATE_CONTACT_MEMBERSHIPSAcciónAttach or detach one or more tags or lists from a contact. This immediately changes segmentation and can affect campaign or automation targeting.
SURECONTACT_UPDATE_CONTACT_MEMBERSHIPSAcciónAttach or detach one or more tags or lists from a contact. This immediately changes segmentation and can affect campaign or automation targeting.
Parámetros de entrada
operationstringObligatorioenumWhether to attach or detach the memberships.
attachdetachcontact_uuidstringObligatorioUUID of the contact whose memberships change.
resource_typestringObligatorioenumMembership type to update: tag or list.
taglistresource_uuidsstring[]ObligatorioOne or more tag or list UUIDs matching resource_type.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upsert ContactSURECONTACT_UPSERT_CONTACTAcciónCreate a contact when the email is new or update the existing contact with supplied fields. Supplied tag and list UUIDs are appended and never replace existing memberships.
SURECONTACT_UPSERT_CONTACTAcciónCreate a contact when the email is new or update the existing contact with supplied fields. Supplied tag and list UUIDs are appended and never replace existing memberships.
Parámetros de entrada
emailstringObligatorioEmail address that uniquely identifies the contact.
phonestringContact phone number.
sourcestringAcquisition source such as api, manual, import, form, or integration.
statusstringenumContact status: pending, active, unsubscribed, bounced, invalid, or complained.
pendingactiveunsubscribedbouncedinvalidcomplainedcompanystringContact company name. This does not use the paid Companies resource.
languagestringPreferred ISO 639-1 two-letter language code.
metadataobjectAdditional contact metadata as key-value pairs.
timezonestringPreferred IANA timezone identifier.
job_titlestringContact job title.
last_namestringContact last name.
tag_uuidsstring[]Tag UUIDs to append to the contact without replacing existing tags.
first_namestringContact first name.
list_uuidsstring[]Static-list UUIDs to append to the contact without replacing existing list memberships.
custom_fieldsobjectCustom field values keyed by field name.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not