engage

suspend fun engage(externalCustomerId: String, playbookId: String, journeyDay: Int? = null, postalCode: String? = null, overrides: JsonObject? = null, callbackUrl: String? = null, callbackSecret: String? = null): EngagementDecision

Run a playbook for a customer.

Returns as soon as the API does. On a cache hit the decision is already COMPLETED and carries its envelope; otherwise it is PENDING and the enrichment has not been spawned yet — see awaitDecision.