Business Event node

The Business Event trigger allows users to launch a journey without the customer context. This way users get an opportunity to create a new type of journeys. The Business Event can be used to receive information about the product storage changes, price changes, and so on. If the data sent to the system contains a customer ID, you can also transform a joruney into customer-oriented one and send events by means of the Outgoing Webhook node.

Important: Customer-oriented nodes cannot be used in an automation triggered by a business-oriented node.

What is it


Business Event allows users to create journeys without customer-related data, based only on the input data. This way you can automate your business activities and build integrations between them.

Prerequisites


Prepare the Incoming webhook integration.

How it works


  1. Click the pencil icon on the Business Event node.
    Result: A pop-up opens.
  2. From the Incoming webhook dropdown, select the incoming integration you have prepared before.
  3. If you want to monitor the entries into this step, switch the Track datapoints toggle on. As a result, they will be displayed on the client card as an event (automation.clientPathStep) and you can use these events to create any analysis in the Analytics module.
  4. Confirm by clicking Apply.

Example of use


Example of use
Example of a journey

The aim of the journey is to receive data that contains indirect customer information and then to process and to transform the data in such a way that further actions become customer oriented.

  1. Add a Business Event trigger node.

  2. Use the incoming webhook integration by means of which the system receives data about products in the cart and the email as the identifier.

  3. Connect the Business Event trigger node with the Outgoing webhook node. The body transferred from the Incoming webhook selected in the Business Event is passed to an endpoint. In this example, the Incoming webhook uses the endpoint documented here. To pass further the values received in the Incoming webhook, you can use jinja.

    {{request.body.paramName}} for the parameters in the request body
    {{request.headers.headerName}} for the parameters in the request headers

    Below you can find an example of data received from the external service to an endpoint indicated in the Incoming webhook settings.

    {
        "body": {
        "parameter1": "value1"
    },
    "businessProfileId": 611,
    "endpointId": "XXXX-XXXX-XXXX-XXXX-XXXXXXXXXX",
    "eventId": "XXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
    "headers": {
    "X-Request-ID": "XXXXXXXXXXXXXXXXXXX",
    "X-Forwarded-Host": "example host",
        },
    "method": "POST",
    "time": 1583206296408
    }
    • To pass the value of parameter1, in the body of the Outgoing webhook enter:
      {{request.body.parameter1}}
    • To pass the value of the X-Request-ID header, in the body of the Outgoing webhook enter:
      {{request.headers["X-Request-ID"]}}
      Result: A new event appears on the activity list on the customer card.
  4. Connect the Outgoing webhook with the End node.

😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.