Back

This article describes how to set up the Salesmachine connector in your Universal Data Hub account.

In this article"

Table of Contents Placeholder

Connector Actions

Action Name AudienceStream EventStream
Create or Update a Contact
Send Event

Configure Settings

Go to the Connector Marketplace and add a new connector. Read the Connector Overview article for general instructions on how to add a connector.

After adding the connector, configure the following settings:

  • API Token
    You can find your Salesmachine project's API Credentials in “Administration > API Keys” in your Salesmachine dashboard. For more information, visit: https://docs.salesmachine.io/#install
  • API Secret
    You can find your Salesmachine project's API Credentials under Administration > API Keys in your Salesmachine dashboard. For more information, visit: https://docs.salesmachine.io/#install.

Action Settings - Parameters and Options

Click Next or go to the Actions tab. This is where you configure connector actions.

This section describes how to set up parameters and options for each action.

Action - Create or Update a Contact

Parameters

Parameter Description
Contact UID
  • Unique identifier referring to a contact.
  • It must match a unique ID in your application, like database ID or email address.
  • For more information on this endpoint, visit: https://docs.salesmachine.io/#contact.
Attributes
  • Contact attributes to be added or updated.
  • You can send any parameter, such as Title, Registered At, Position, and so on.

Action - Send Event

Parameters

Parameter Description
Contact UID
  • Unique identifier referring to a contact.
  • It must match a unique ID in your application like database ID or email address.
  • For more information on this endpoint, visit: https://docs.salesmachine.io/#event.
Event UID
  • Event name.
Event Data
  • Additional attributes associated with the event.
  • You can send any parameter.

    Salesmachine automatically detects parameter type.

  • For timestamp, use seconds or milliseconds since Unix epoch (as an integer) or ISO 8601 dates as a string.