Перейти к содержанию

Data to app

Этот контент еще не доступен на вашем языке.

The Data to app Journey element allows you to send custom data or silent push notifications and deliver data that your app can interpret and act upon, enhancing user engagement and app functionality.

What is Custom Data?

Anchor link to

Custom data is additional information sent along with a push notification. This data is typically in JSON format and can include various parameters that instruct the app to perform specific actions upon receiving the notification.

When a push notification with custom data is received, the app processes the JSON payload to perform predefined actions. This allows for dynamic content updates, navigation, and other interactive features without requiring the user to manually open the app.

How to send custom data with the Data to app element

Anchor link to
  1. Add the Data to app element to the Journey canvas.
  1. Paste your JSON code into the provided field.
  1. After entering your JSON data, click Save to apply the configuration.

Use vouchers

Anchor link to

Add voucher codes from a predefined pool to your custom data payload to support in-app promotions, discounts, or loyalty rewards—delivered silently or triggered by specific app logic.

To set up vouchers:

  1. Include the {{voucher}} placeholder in your JSON payload.

    Example:

    {
    "message": "Congratulations! You've received a special discount: {{voucher}}"
    }
  2. In the Data to app element settings, toggle Vouchers to ON.

  3. Choose the relevant Voucher Pool that contains the available codes (make sure it’s created in advance).

  4. (Optional) Use Assign Tag to label users who receive vouchers for tracking or segmentation.

Learn more about vouchers

Data to app usage examples

Anchor link to

Send silent push notifications

Anchor link to

Silent push notifications are a type of push notification that does not alert the user with sounds, vibrations, or visual notifications. Instead, they are delivered quietly in the background. Silent push notifications paired with custom data are used to update the app content, sync data, or trigger specific app behavior without interrupting the user.

Track uninstalls

Anchor link to

Send a silent push daily to your user base to verify if the app is installed on the user’s device.

Update your application proactively

Anchor link to

In certain situations, you may need to update your application on users’ devices without requiring any action from them. A silent push with Custom Data is ideal for this purpose. You can send it to all users or a specific user segment. The push notification will open automatically, launching your application in the background and updating its content within a minute, all without any user intervention.

JSON Example
Anchor link to
{
"Action": "UpdateApp"
}

Test a new section/module in your application

Anchor link to

With Custom Data, you can open a new feature for beta testing. Select a target segment and send them a push notification announcing the added functionality. If a user clicks on the message, they will gain access to the section you opened exclusively for them.

JSON Example
Anchor link to
{
"EnableNewFeatureSection" : "Yes"
}

Update app icon

Anchor link to

Change the app icon dynamically.

JSON Example
Anchor link to
{
"UpdateAppIcon": "https://example.com/new-icon.png"
}

Deliver promo codes and discounts

Anchor link to

You can send push notifications with promo codes or discounts that are automatically applied when the user taps on the notification. This approach encourages user engagement and makes it easier for users to take advantage of special offers, enhancing their overall experience.

JSON Example
Anchor link to
{
"ApplyPromoCode": "DISCOUNT2024"
}

Grant bonus points to users

Anchor link to

You can send push notifications with custom data to grant bonus points to users. When the user taps on the notification, the bonus points are automatically credited to their account.

JSON Example
Anchor link to
{
"AddPromo" : "+1000"
}

Learn more about how to customize your messages with custom data