Skip to main content

AutomationService

A list of all methods in the AutomationService service. Click on the method name to view detailed information about that method.

MethodsDescription
custom_triggers_trigger_by_contact_id
custom_triggers_trigger_by_social_security_number
custom_triggers_trigger_by_external_contact_id
custom_triggers_trigger_by_contact_type_and_key

custom_triggers_trigger_by_contact_id

  • HTTP Method: POST
  • Endpoint: /api/v2/automation/customTriggers/{triggerId}/triggerByContactId/{contactId}

Parameters

NameTypeRequiredDescription
request_bodydictThe request body.
trigger_idstr
contact_idstr

Return Type

dict

Example Usage Code Snippet

from voyado_engage import VoyadoEngage, Environment
from voyado_engage.models import dict

sdk = VoyadoEngage(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)

request_body = {}

result = sdk.automation.custom_triggers_trigger_by_contact_id(
request_body=request_body,
trigger_id="triggerId",
contact_id="contactId"
)

print(result)

custom_triggers_trigger_by_social_security_number

  • HTTP Method: POST
  • Endpoint: /api/v2/automation/customTriggers/{triggerId}/triggerBySocialSecurityNumber/{ssn}

Parameters

NameTypeRequiredDescription
request_bodydictThe request body.
trigger_idstr
ssnstr

Return Type

dict

Example Usage Code Snippet

from voyado_engage import VoyadoEngage, Environment
from voyado_engage.models import dict

sdk = VoyadoEngage(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)

request_body = {}

result = sdk.automation.custom_triggers_trigger_by_social_security_number(
request_body=request_body,
trigger_id="triggerId",
ssn="ssn"
)

print(result)

custom_triggers_trigger_by_external_contact_id

  • HTTP Method: POST
  • Endpoint: /api/v2/automation/customTriggers/{triggerId}/triggerByExternalContactId/{externalId}

Parameters

NameTypeRequiredDescription
request_bodydictThe request body.
trigger_idstr
external_idstr

Return Type

dict

Example Usage Code Snippet

from voyado_engage import VoyadoEngage, Environment
from voyado_engage.models import dict

sdk = VoyadoEngage(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)

request_body = {}

result = sdk.automation.custom_triggers_trigger_by_external_contact_id(
request_body=request_body,
trigger_id="triggerId",
external_id="externalId"
)

print(result)

custom_triggers_trigger_by_contact_type_and_key

  • HTTP Method: POST
  • Endpoint: /api/v2/automation/customTriggers/{triggerId}/triggerByContactTypeAndKey/{contactType}/{keyValue}

Parameters

NameTypeRequiredDescription
request_bodydictThe request body.
trigger_idstr
contact_typestr
key_valuestr

Return Type

dict

Example Usage Code Snippet

from voyado_engage import VoyadoEngage, Environment
from voyado_engage.models import dict

sdk = VoyadoEngage(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)

request_body = {}

result = sdk.automation.custom_triggers_trigger_by_contact_type_and_key(
request_body=request_body,
trigger_id="triggerId",
contact_type="contactType",
key_value="keyValue"
)

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →