Koala Cloud Mode Integration Beta
2 minute read
After you have successfully instrumented Koala as a destination in RudderStack, follow this guide to correctly send your events to Koala in cloud mode.
Find the open source transformer code for this destination in the GitHub repository.
Identify
You can use the identify call to create or update a Lead object in Koala.
A sample identify call is shown:
rudderanalytics.identify("1hKOmRA4GRlm", {
name: "Alex Keener",
email: "alex@example.com",
ko_profile_id: "12345"
})Supported mappings
RudderStack maps the following identify fields to the corresponding Koala properties:
| RudderStack property | Koala property |
|---|---|
traits.emailcontext.traits.emailproperties.emailRequired, if ko_profile_id is absent. | email |
traits.ko_profile_idcontext.traits.ko_profile_idproperties.ko_profile_idRequired, if email is absent. | profile_id |
type | identifies.$.type |
traitscontext.traits | events.$.traits |
timestamporiginalTimeStamp | events.$.sent_at |
Track
You can use the track call to capture events like Account Created, Account Deleted, and their related properties.
rudderanalytics.track("User Signed Up", {
plan: "Pro Annual",
firstName: "Alex",
lastName: "Keener",
ko_profile_id: "12345"
email: "alex@example.com"
})Supported mappings
RudderStack maps the following track fields to the corresponding Koala properties:
| RudderStack property | Koala property |
|---|---|
eventRequired | events.$.event |
traits.emailcontext.traits_emailproperties.emailRequired, if ko_profile_id is absent. | email |
traits.ko_profile_idcontext.traits.ko_profile_idproperties.ko_profile_idRequired, if email is absent. | profile_id |
context.iprequest_ip | ip |
context | event.$.context |
properties | events.$.properties |
type | events.$.type |
messageId | events.$.message_id |
timestamporiginalTimeStamp | events.$.sent_at |