Skip to main content

Connected Services

ValueMapper can be setup to integrate with different third-party services to deliver redemptions.

All of these are represented in ValueMapper through the ConnectedService object.

Each connected service will have at minimum the following attributes:

  • Name (the name of the third-party service)
  • Service Type (the third-party service type)
  • Enabled (if the service is enabled or not)

The following services are currently supported:

Listing connected services

The connected services added to an account can be fetched via the GraphQL API:

query GetConnectedServices {
account {
id
connectedServices(enabled: true) {
enabled
name
serviceType
roles
needsReauth
metadata(refresh: true) {
... on KlaviyoServiceMetadata {
tokenConfigured
}
... on ShopifyServiceMetadata {
shop
}
... on TremendousServiceMetadata {
campaigns {
externalId
name
productIds
products {
externalId
name
skus {
max
min
}
}
}
}
}
}
}
}

As you may have seen from the above, connected services may have additional information associated with them that don't exactly match up with each other.

For these fields, we have provided a metadata node that will return fields based on the connected service type returned.