Skip to content

In-app editor blocks reference

Reference for every block you can add on the built-in editor canvas.

Each block type serves a different purpose in the message:

  • Heading: titles and short headlines
  • Text: body copy and longer descriptions
  • Image: pictures from Media storage, upload, or URL
  • Video: a tappable video thumbnail that opens a YouTube or Vimeo video
  • Card: an image with heading, text, and button in one layout
  • Button: a tappable call to action
  • Divider: a line that separates sections
  • HTML: custom HTML, such as an embedded video or a form that sends your own events
  • Menu: a row or column of navigation or contact links
  • Social: icons that link to your social profiles
  • Timer: a countdown for offers and deadlines
  • Barcode: a scannable Code 128, EAN-13, EAN-8, UPC-A, or QR code generated from a personalization value, such as a voucher
  • Columns: side-by-side layouts (2, 3, or 4 equal columns, or 33/67 and 67/33 splits)
  • Products: a grid of product cards from your Product Catalog or a user’s abandoned cart
  • Rating: a score on a 1–5, star, or thumbs scale
  • Multiple choice: a question with one or several answers
  • Input field: a form that collects an email, phone number, name, or other text

How to configure editor blocks

Anchor link to

Drag a block onto the canvas from the Blocks tab, or click it to add it at the end. Select the block to open its settings in the right panel and configure content, links, size, and spacing.

Heading and text

Anchor link to

Heading and Text blocks hold the copy users read in the in-app message. Edit the text on the canvas and format it with the toolbar.

Click a Heading or Text block to edit its copy on the canvas. Select some text to bring up the formatting toolbar: bold, italic, underline, alignment, a link button, and a text style dropdown.

Heading block selected on the canvas with the text formatting toolbar showing style and formatting options

Merge Tags are placeholders that insert a Tag value from the user’s profile into the message, so each subscriber sees personalized copy. To add one, select the text, click Merge Tags in the toolbar, and choose a Tag from your account. Learn more about personalized in-app messages

An Image block displays a picture in the in-app template.

Image block on the canvas with Image settings showing Replace image, Image URL, Alt text, Generate alt with AI, Prompt, Corner radius, Alignment, and Size & fit

Select it on the canvas to open the Image settings in the right panel.

  • Add image: upload a file or pick one from your Media storage. When a picture is already set, the button is Replace image.
  • Image URL: paste a hosted link to the image.
  • Alt text: describe the image for accessibility. Click Generate alt with AI to have it written from the picture.
  • Prompt: the AI generation prompt for an image you created with Generate with AI. Leave it empty when you upload or link the picture yourself.
  • Corner radius (px): round the image’s corners. Leave it empty to keep the template’s default radius. Turn on More Options to set each corner separately.
  • Alignment: left, center, or right.

Size & fit

  • Width: set the image’s width in px, or as a percentage of the available width.
  • Height (px): set a fixed height. Leave it empty for the image to size automatically. Below these fields, a hint shows the size the image renders at and the size to upload: 2× the rendered size, so the picture stays sharp on phone screens. If the uploaded file is smaller than the rendered size on either axis, a warning tells you it will be upscaled and look pixelated.
  • Crop: keep Original proportions, or pick a ratio to crop the image to that box.
  • Fit: choose Cover to fill the box and crop to it, or Contain to fit the whole image inside the box.

In Link, set what opens when the image is tapped: choose an action type, for example Open Website or URL or Deeplink, and enter its URL. In Link target, choose whether it opens in the same tab or a new one.

In Spacing, turn on Padding to add space around the image. Use All sides for the same padding on every side, or turn on More options to set each side separately.

Anchor link to

Upload an image at 2× the size the hint under Width / Height (px) shows for that block. That’s the number to check, since it reflects your own Width/Height and crop settings. When you haven’t set a block yet, use these common slot widths as a starting point:

Where the image sitsRenders atUpload at least
Full-width image in the default popupup to 600 px wide1200 px wide
Phone preview360–430 px wide, depending on deviceup to 860 px wide
Tablet preview768 px wide1536 px wide

Aspect ratio is up to you. The layout is responsive, so height follows whatever Height (px) or crop you set. See Document and popup size to change the default popup width.

A Video block adds a YouTube or Vimeo video to the message as a tappable thumbnail. The message shows a still image with a ▶ overlay. Tapping it opens the video in the YouTube or Vimeo app or browser.

Video block on the canvas with Video settings showing Video URL, Alt text, Replace thumbnail, Thumbnail URL, and Play button overlay

Select the block on the canvas to open its settings:

  • Video URL: paste a YouTube or Vimeo link. The editor fetches a thumbnail automatically.
  • Alt text: describe the video for accessibility.
  • Thumbnail URL: keep the auto-fetched thumbnail or paste a hosted link. To pick one from Media storage, click Add thumbnail. If a thumbnail is already set, the button is Replace thumbnail.
  • Play button overlay: on by default. Turn off to show the plain thumbnail without the ▶ overlay.
  • Use the width, corner radius, and alignment settings to control how the thumbnail looks and where it sits in the layout.

A Card block pairs an image with a heading, text, and button in a single ready-made layout, so you don’t have to place and align four separate blocks by hand.

Card block on the canvas with Card settings showing Layout, Replace image, Image URL, Alt text, Prompt, Padding, and Corner radius
  • Layout: choose which side the image sits on relative to the content, or turn on Wrap text around image.
  • Image: add or replace the image, set alt text, edit the AI generation prompt, add padding, and set the corner radius.
  • Size & fit: set the image’s width, height, crop (Original or a fixed ratio), and fit (Cover or a focal point). The exact fields depend on the layout you picked.
  • Link: make the whole card open a URL when tapped.

Edit the card’s heading, text, and button the same way you edit the standalone Heading, Text, and Button blocks.

A Button is a tappable call to action in the in-app message. Use it to open a URL, run custom JavaScript, close the message, ask for push permission, or open the app’s notification settings.

Click a Button block to edit its label on the canvas. Use the toolbar to change font size, text color, bold, italic, underline, and alignment.

To set what happens when the user taps the button:

  1. Click the link icon in the toolbar to open Insert/Edit Link.

  2. Choose an Action Type:

    • Open Website
    • URL or Deeplink
    • Custom Javascript
    • Close In-App
    • Request push permission
    • Open notification settings
    Button toolbar with the link icon, and the Insert Edit Link dialog below it with the Action Type list open, showing Open Website, URL or Deeplink, Custom Javascript, Close In-App, Request push permission, and Open notification settings
  3. Fill in the fields for that action (see below).

  4. Click Save.

Open Website

Anchor link to

Open Website opens a web page when the user taps the button. Enter the address in URL, for example https://example.com.

Insert Edit Link dialog for a Button with Action type Open Website and a URL field
Anchor link to

URL or Deeplink opens a link or deep link when the user taps the button. Enter the address in URL, for example an app screen: myapp://screen.

Button toolbar with Insert Edit Link dialog open, Action type URL or Deeplink, and URL set to myapp://screen

Close In-App

Anchor link to

Close In-App closes the in-app message when the user taps the button. Use it for a dismiss button such as Not now or No thanks.

Insert Edit Link dialog for a Button with Action Type Close In-App and no other fields

Close In-App is available for buttons only. To close the message and do something else on the same tap, such as save a tag or send an event, use Custom Javascript instead.

Request push permission

Anchor link to

Request push permission shows the system push permission dialog when the user taps the button, then closes the in-app message. Use it for the accept button of a pre-permission in-app.

On iOS, the system dialog appears only once per install. For users who already declined, use Open notification settings.

Open notification settings

Anchor link to

Open notification settings takes the user to your app’s notification settings when they tap the button, then closes the in-app message. Use it for users who declined the system permission dialog or turned notifications off. On iOS the system dialog can’t be shown again, so the settings are the only place where these users can turn push back on.

  • On Android, the button opens the app’s notification settings.
  • On iOS, the button opens the app’s page in Settings, where the user can turn on notifications.

To show the button only to users who have push turned off, set the rule Push Alerts Enabled is false, as described in Skip the prompt for users who already opted in. The tag updates when the user next opens the app, so the in-app can appear once more after they turn push on.

Request push permission and Open notification settings are available for buttons only.

Run custom JavaScript

Anchor link to

Custom Javascript runs code when the user taps the button. Enter the code in the onClick field.

Use it when a tap should do something in Pushwoosh, not only open a link. The person in the app still sees a normal button. They do not see tags or events. You decide what happens next on screen: leave the message open, or close it in the same onClick.

Insert Edit Link dialog for a Button with Action Type Custom Javascript and onClick that sends an event and closes the in-app

Available methods in onClick

  • pushwoosh.closeInApp(): close the in-app message. Omit it to keep the message open after the tap. If closing is the only thing the button does, use Close In-App.
  • pushwoosh.sendTags({...}): save values as device tags for later campaigns.
  • pushwoosh.postEvent(...): send a custom event, for example to start a Customer Journey.
  • pushwoosh.getTags(...): read current tags. Useful in custom HTML to change what the message shows.
  • pushwoosh.getCustomData(): read custom data passed from the push that opened this in-app.
  • pushwoosh.registerForPushNotifications(): trigger the platform’s native push permission dialog. If that is the only thing the button does, use Request push permission.
  • pushwoosh.openAppSettings(): open the device settings for your app. If that is the only thing the button does, use Open notification settings.
Example: let users pick an interest and save it for later campaigns
Anchor link to
  1. Add a question in a Text or Heading block, for example: “Which sport are you into?”
  2. Add one Button per option, for example Yoga and Gym.
In-app template with Yoga and Gym buttons and Custom Javascript onClick for the Yoga button
  1. Set Action Type to Custom Javascript for each button.
  2. For the Yoga button, paste this into onClick:
pushwoosh.sendTags({ interest: "yoga" });
pushwoosh.closeInApp();
  1. For the Gym button, paste this into onClick:
pushwoosh.sendTags({ interest: "gym" });
pushwoosh.closeInApp();

When the user taps Yoga, Pushwoosh writes the interest tag on their device and closes the in-app. You can then target that user in a segment or Customer Journey.

A Divider is a horizontal line between content blocks. Use it to separate sections visually in the template.

In the settings panel, set the line style (Solid, Dashed, or Dotted), color, thickness, and width.

The HTML block lets you paste custom HTML into an in-app template. Use it for content that no other block covers, for example:

  • an embedded video
  • a form or survey that sends your own events

For standard surveys and sign-up forms, you don’t need code. Use the Rating, Multiple choice, and Input field blocks, which send answers as PW_InAppAnswer.

Personalize HTML with Liquid

Anchor link to

Liquid in the HTML block fills in each user’s tags and event attributes. It works in in-apps shown by the In-App element of a journey.

The examples below show common ways to use the HTML block in an in-app template: a lead form, a survey, and an embedded video.

This lead form writes name and email as tags, sends a promo_requested event, shows a thank-you message, then closes the in-app.

HTML lead form in the in-app editor with name and email fields and a Send me the code button
HTML code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body { margin: 0; padding: 20px; font-family: Arial, sans-serif; }
h2 { font-size: 18px; margin-bottom: 8px; color: #222; }
p { font-size: 14px; color: #666; margin-bottom: 20px; }
input {
width: 100%;
padding: 12px;
margin-bottom: 12px;
border: 1px solid #ddd;
border-radius: 8px;
font-size: 15px;
box-sizing: border-box;
}
button {
width: 100%;
padding: 14px;
background: #FF6B35;
color: white;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
}
.thanks { display: none; text-align: center; padding: 40px 0; font-size: 18px; color: #333; }
</style>
</head>
<body>
<h2>Get your 20% discount</h2>
<p>Leave your name and email. We'll send the promo code right away.</p>
<div id="form">
<input type="text" id="name" placeholder="Your name" />
<input type="email" id="email" placeholder="Your email" />
<button onclick="submit()">Send me the code</button>
</div>
<div class="thanks" id="thanks">
🎉 Done! Check your inbox for the promo code.
</div>
<script>
function submit() {
const name = document.getElementById('name').value.trim();
const email = document.getElementById('email').value.trim();
if (!name || !email) return;
pushwoosh.sendTags({ name: name, email: email });
pushwoosh.postEvent("promo_requested", { email: email });
document.getElementById('form').style.display = 'none';
document.getElementById('thanks').style.display = 'block';
setTimeout(() => pushwoosh.closeInApp(), 3000);
}
</script>
</body>
</html>

The Menu block places several clickable items in a row or column. Use it for a navigation bar or a list of company contacts.

For each menu item, set:

  • Label: the text users see
  • URL: where the item opens
  • Target: same tab or a new tab

In the block settings, you can also set:

  • Direction: Horizontal or Vertical
  • Alignment: Left, Center, or Right
  • Separator: an optional divider between items
  • Font, size, weight, letter spacing, and link/text colors

The Social block displays a row of social media icons that link to your profiles. Use it to send users to Facebook, Instagram, X, and other platforms from the in-app message.

Add platform entries, then set alignment, icon size, and the gap between icons.

Social block settings with TikTok, Instagram, and Facebook links plus Alignment, Icon size, and Gap

Countdown timer

Anchor link to

The Timer block is a countdown in the in-app message. Use it for limited-time offers, flash sales, and event reminders.

To set it up:

  1. In Countdown, set the end date and time, then choose the timezone and language for the timer labels.
  2. Turn Labels on to show “days / hours / minutes / seconds” captions under the digits, or off for numbers only.
  3. In Appearance, set the background, the colors of the digits and labels, and their font sizes (default 40px for digits and 16px for labels).
  4. Adjust Spacing (padding) as needed.
Timer block settings with Countdown end date and time, Labels, Appearance, and Spacing options

The Barcode block renders a scannable barcode or QR code from a personalization value, most often a voucher.

To set it up:

  1. In Code, keep the device tag {Coupon|String|}, or click Merge tag and choose another device tag that stores each recipient’s code. The SDK fills the tag on the device before the in-app is shown. This differs from the email Barcode block, which uses {{voucher}}.
Barcode Code field with Merge tag button and device-tag helper text
  1. Choose the Symbology that fits the values in your tag:

    • QR: a square 2D code phones can scan. Accepts any text, including alphanumeric codes like WELCOME2025-A1
    • Code 128: a linear barcode for any text, including the same alphanumeric codes
    • EAN-13: the common retail barcode in Europe and many other regions. Digits only, 12–13 characters
    • EAN-8: a shorter retail barcode for small packaging. Digits only, 7–8 characters
    • UPC-A: the common retail barcode in North America. Digits only, 11–12 characters
  2. If you chose QR, set Error correction to L, M, Q, or H. The default is M.

  3. Optionally turn on Print the code in digits to show the value under the code.

Barcode Symbology set to QR, Error correction M, and Print the code in digits checked
  1. In Appearance, set Bars color darker than the background, because most scanners can’t read light bars on a dark background. Set Width (px) and Height (px) to at least 600×200 so the code stays scannable at typical phone-camera range. Leave Quiet zone, modules on Auto for the default margin.
Barcode Appearance settings with Bars color, Background, Width, Height, and Quiet zone

Columns split the canvas into side-by-side sections so you can place content next to each other in one row.

Drag one of these blocks onto the canvas:

  • 2 columns: two equal columns
  • 3 columns: three equal columns
  • 4 columns: four equal columns
  • 33 / 67: left column about 33% wide, right about 67%
  • 67 / 33: left column about 67% wide, right about 33%

Then add content to each column. To change spacing for all columns in the template, open Settings → Columns defaults and adjust outer padding, column padding, and the gap between columns.

A Products block shows a grid of product cards from one shared template. Each card can include an image, title, description, price, and a buy button. The template repeats for every product.

Products block with two product cards showing image, title, description, price, and Shop now button

In the settings panel, under Source, choose where the products come from:

  • Manual: enter products by hand, or click Pick from catalog… to select specific items from your Product Catalog by ID. You can mix both in the same block.
  • Catalog rule: pull products automatically by category and sort order, resolved fresh from the catalog when the message is shown.
  • Cart: show the items from each user’s current abandoned cart. How to set up an abandoned cart campaign

Once you’ve picked a source, these settings control how the grid and its cards look:

  • Number of products (or Max products shown for the Cart source): how many cards to show.
  • Columns: 1, 2, or 3 cards per row.
  • Gap: the space between cards.
  • Description limit: the character limit description text is trimmed to, so cards stay a consistent size.
  • Card template: pick a layout, then set the background, corner radius, and content padding for every card.

A Rating block asks users to score something, such as your app or a recent order, on a scale. Each answer is sent to Pushwoosh as a PW_InAppAnswer event, so you can follow up on low and high scores in journeys and segments.

Rating block with numbers 1 to 5 and its settings: Attribute, Type, edge labels, style, Submit with button, and tag

Select the block on the canvas to open its settings:

  • Attribute: a key that names this question, for example app_rating. Every answer carries it in the event’s question attribute, so you can tell the answers to this question from the answers to other questions. To group the answers of several in-apps, reuse a key from another in-app of this app, or type a new one.
  • Type: choose how users score:
    • Numbers (1–5): five numbered buttons. The score is the number the user taps.
    • Stars: five stars. The score is 1 to 5.
    • Thumbs: thumbs up and thumbs down. Up is sent as 1, down as 0.
  • Scale edge labels: captions under the lowest and highest score, for example “Not likely” and “Very likely”. Available for the Numbers (1–5) and Stars types.
  • Rating style: turn on Fill color to fill the score buttons with a color. For stars, it sets the color of unselected stars. For numbers, turn on Border color to change the button outline.
  • Submit with button: on by default, so the user picks a score and taps the button to send it. Set Button text to change the label. Turn it off to send the score on the first tap.
  • Save answers to tag: turn on to also store the latest score in the user’s profile. Then choose a numeric (Integer) tag or click Create new.

After the score is sent, the in-app closes.

Multiple choice

Anchor link to

A Multiple choice block asks a question with answer options, for example why the user is leaving or which topics interest them. Each answer is sent as a PW_InAppAnswer event and can also be saved to a Tag. In the layers list and the settings panel, the block is called Choice.

Multiple choice block as chips with an Other field, and its settings: Attribute, Question, View, and Answers

Select the block on the canvas to open its settings:

  • Attribute: a key that names this question, the same as in the Rating block.
  • Question: the text shown above the options.
  • View: choose how options look and how many the user can pick:
    • Radio buttons: the user picks one answer.
    • Checkboxes or Chips: the user picks several answers.
  • Answers: enter a Label for each option. Click Add option to add more, drag the handle to reorder, or click the trash icon to remove one.
  • Use “Other” option with a text field: adds an Other option with a text field below the options. Set its Option name and the field’s Placeholder. What the user types is sent in the event when they pick Other and the field isn’t empty.
  • Limit number of answers: for checkboxes and chips, set the minimum and maximum number of answers. The block enforces them:
    • With too few answers, tapping the submit button shows Select at least N options below the options.
    • Past the maximum, the extra pick isn’t selected and the block shows Select up to N options.
  • Submit with button: for Radio buttons, turn it off to send the answer on the first tap. Keep it on if the block has an Other option: picking Other doesn’t send the answer on its own. Checkboxes and Chips always send with the button. Set Button text to change its label.
  • Add skip button: adds a button that closes the in-app right away without sending an answer. Set its Button text.

After the answer is sent, the in-app closes.

Save answers to a Tag

Anchor link to

To use the answers in segments, save them to a Tag:

  1. Turn on Save answers to tag.
  2. Choose a String or List Tag, or click Create new.
    • Radio buttons write one value to the Tag.
    • Checkboxes and Chips write a list, even when the user picks one option. Choose a List Tag for them.
  3. For each option, set a Tag value. Keep Same as label to write the option’s label, or pick a value the Tag already has, so answers match the values your segments filter on.

For the Other option, the Tag receives its Tag value, not the text the user typed. With Same as label, Other writes other, not its label.

If the user already has values in the selected Tag, the block opens with those options picked. A returning user can change an earlier choice instead of starting over.

The answer replaces the Tag value. An option the user unpicks is removed from the Tag.

Input field

Anchor link to

An Input field block is a form that collects a user’s email, phone number, name, or any other text. The form subscribes the user’s device to email with the entered address and to SMS with the entered phone number. Other fields can be saved to Tags. In the layers list and the settings panel, the block is called Field form.

Select the block on the canvas to open its settings:

  • Attribute: a key that names this form in the PW_InAppAnswer event, the same as in the Rating block. The event tells you the form was submitted. It doesn’t include what the user entered.
  • Add field: add an Email, Phone, Name, or Custom text field. A form can have one email field and one phone field. For each field, set:
    • Label and Placeholder: the text above and inside the field.
    • Required: the form can’t be sent while this field is empty. Email and phone fields are required by default.
  • Enable checkboxes in the form: adds checkboxes below the fields, for example consent to your privacy policy. See Add checkboxes.
  • Save data to tag: for name and custom text fields, choose a String Tag to store what the user entered, or click Create new.
  • Button text: the label of the submit button.

Add checkboxes

Anchor link to

Add a checkbox to ask for consent before the user sends the form, or to let the user opt in to something and save the answer to a Tag. A form can have up to five checkboxes.

  1. Turn on Enable checkboxes in the form. Checkbox 1 appears.
  2. In Text, enter what the user agrees to.
  3. Keep Required field on so that the form can’t be sent until the user ticks the checkbox. Turn it off for an optional checkbox.
  4. To show a link under the text, keep Add link on and enter the link text and the privacy policy link. The link shows only when both are filled. Turn Add link off for a checkbox without a link.
  5. To store the answer, turn on Save data to tag, then choose a Boolean Tag in the list below it or click Create new. When the form is sent, the Tag gets true if the checkbox is ticked and false if it isn’t.
  6. To add another checkbox, click Add checkbox and repeat steps 2 to 5. With five checkboxes in the form, Add checkbox is hidden.

To change the order, drag a checkbox by its handle. To remove one, click its trash icon.

Input field block with a required privacy policy checkbox and an optional loyalty program checkbox, and their settings: Checkbox 1 with a link, Checkbox 2 saving to the loyalty_member Tag

Edit the success screen

Anchor link to

After a successful submit, the form is replaced by a success screen with a title, text, and a button that closes the in-app. The user sees one of two screens, set by the app’s double opt-in setting:

  • Subscribed: shown in every other case, for example when double opt-in is off or the user entered only a phone number.
  • Double opt-in: check your email: shown when double opt-in is on and the user entered an email. It asks the user to confirm the address from the confirmation email.

To edit a screen:

  1. Under Success screen, choose the screen.
  2. Change its title, text, and button text. Leave a field empty to show the built-in text in each language of the in-app.
  3. To see the screen on the canvas, switch from the 1. Form tab to 2. Success above the canvas.

A text you enter replaces the built-in one in every language. Translate it for each language you added, or the other languages show it as you wrote it.

2. Success tab with a custom double opt-in screen, and its Title, Text, and Button text filled in the settings

What the form checks

Anchor link to

The form checks what the user enters before sending it:

  • Phone: the number needs the country code, for example +15551234567. Spaces, brackets, and dashes are ignored.
  • Email: the form checks the domain of the address:
    • If the domain has a typo such as .con instead of .com, the form shows an error asking to check the address.
    • If the domain looks like a misspelled popular provider, such as gmial.com, the form suggests the corrected address. The user can accept it or send the address as typed.
Email field with a misspelled gmial.com address and the Did you mean hint suggesting gmail.com below it

Built-in texts in other languages

Anchor link to

The Rating, Multiple choice, and Input field blocks show some texts you don’t write yourself:

  • The form’s error messages.
  • The Did you mean hint.
  • The success screens’ stock title, text, and Close button.
  • The Submit and Skip labels, when Button text is empty. New blocks fill Button text with English text: clear it to show the built-in label.
  • The Select at least N options and Select up to N options messages.

When you add languages to the in-app, these texts are shown in each added language, with the right plural form for the number of options.

Built-in translations exist for 30 languages: Arabic, Bulgarian, Chinese, Czech, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Spanish, Swedish, Thai, Turkish, Ukrainian, and Vietnamese.

The default language and any language outside this list show the texts in English.

Collect answers with PW_InAppAnswer

Anchor link to

Every answer from a Rating, Multiple choice, or Input field block is sent to Pushwoosh as the PW_InAppAnswer default event. Each block sends one event per display, so an in-app with two Rating blocks sends two events.

All attributes of the event:

AttributeTypeBlockWhat it holds
questionStringAll blocksThe Attribute key of the block, for example app_rating. Not the text of the Question field
inapp_codeStringAll blocksThe code of the in-app the answer came from
scoreIntegerRatingThe score, 1 to 5. Thumbs send 1 for thumbs up and 0 for thumbs down
answersListMultiple choiceThe picked options: the option’s Tag value if it has one, otherwise its label. Other is sent as other unless it has a Tag value
otherStringMultiple choiceThe text typed in the Other field. Sent when the user picks Other and the field isn’t empty
PW_InAppAnswer event in Audience, Events with its attributes question, score, answers, other, and inapp_code

React to answers

Anchor link to

Choose what you want to do with the answers:

You want toHow
Message a user right after they answerStart a journey with a Trigger-based entry on PW_InAppAnswer
React inside a running journeyAdd Wait for trigger on PW_InAppAnswer
Build a segment of users who answered a certain waySegment by events on PW_InAppAnswer
Build a segment of users by their latest answerTurn on Save answers to tag in the block, then segment by that Tag

In the first three, filter the event by its attributes:

  • To ask low raters what went wrong, set question equals app_rating and score is less than or equal to 2.
  • To ask happy users for a store review, set question equals app_rating and score is 4 or 5.

An event is recorded every time the user answers, so a user who answers twice has two events. A Tag keeps only the latest answer: each new answer replaces the previous one.

Save and reuse blocks

Anchor link to

Save a block to reuse it in this or other in-app templates instead of rebuilding it each time.

  1. Select the block on the canvas.
  2. Click the bookmark icon (Save block for reuse) in the block’s toolbar and give it a name.
Card block toolbar with Move up, Move down, Duplicate, Delete, Save block for reuse, and Ask AI icons

Saved blocks appear under Saved blocks at the bottom of the Blocks tab.

  • To change the order of the tiles, use the Sort menu next to the Saved blocks heading. Last updated (default) shows the most recently updated blocks first, and A-Z sorts them by name. The editor remembers your choice in this browser. In another browser or on another device, or after you clear the site data, the order goes back to Last updated.
  • Drag a saved block onto the canvas, or click it to add it at the end of the template.
  • Click the ✎ on a saved block’s tile to rename it. The content stays the same. If another saved block already has that name, the editor shows an error and keeps the old name.
  • Click the × on a saved block’s tile to delete it.

Replace a saved block

Anchor link to

To update a saved block with new content, save the new version under the same name:

  1. Select the block on the canvas and click the bookmark icon in its toolbar.
  2. Enter the name of the saved block and leave Keep copies in sync turned off.
  3. In the Replace saved block? dialog, click Replace to overwrite the saved block’s content with the selected block. Click Back to return to the name dialog and pick another name.

Copies already in your templates stay as they are. Replacing works only for regular saved blocks. To change a synced block, use Edit synced block and Apply to all, as described in Keep copies in sync.

Keep copies in sync

Anchor link to

When you save a block, turn on Keep copies in sync to link every inserted copy to the same source. Edit the source once, and the change applies everywhere that block is used.

A synced copy is locked on the canvas. You can’t edit it directly. Select the copy to open its settings:

  • Edit synced block: unlock this copy so you can change it. A banner appears at the top. Click Apply to all to save your changes to the source and every other copy, or Cancel to discard them. You can unlock only one synced block at a time.
  • Update from source: replace this copy with the latest version from the source.
  • Detach from source: unlink this copy from the source so you can edit it on its own.