Create an in-app automation

Set up messages that appear in your app when users meet certain conditions.

To get started, click   and select In-App Automation. After completing a step, click   in the header to move on. Click   if you want to name the message or flag it as a test.

Style

Select a message style: banner, modal, fullscreen, or Custom HTML.

 Note

After selecting Custom HTML, the settings available in this composer are reduced to only those applicable to the Custom HTML message style.

Settings

Enter the message name. The name should represent the purpose of the message, e.g., “Loyalty tier 3 announcement.” The name appears in reporting and Messages OverviewA view of all your project’s messages, with options for editing their settings, content, status, and more. .

After entering a name, configure optional features and set or verify the Message PurposeA designation of a message as commercial or transactional. . Purpose only appears if enabled for the project.

Audience

Select your message audience:

Content

Content configuration varies by style:

  • Custom HTML — Upload your HTML.
  • Banner — Configure using the Classic design method.
  • Modal and Fullscreen — Select a design option, then configure.

Design methods:

A preview updates as you type and make selections.

Classic

To add message content using the Classic method:

  1. (Modal and fullscreen styles only) Select Classic.

  2. Select a layout to determine the order of content elements: Media/Header/Body or Text Only. Layout options vary by message style.

  3. Configure the content elements. Available fields and options vary per message style. The Custom Keys option is available for all message styles.

    • Text — Enter text for the header, body, and footer.

      The footer is for fullscreen messages only. It is designed to link to your Terms and Conditions, Privacy Policy, or additional information to help the user make a more informed decision about the actions they could take in this message. The footer inherits the styling of the body text and functions as a button.

    • Media — Enter an HTTPS URL that will be accessible by your mobile audience. If your Airship plan includes CDN support, you can also upload media or select from previously uploaded media.
      1. Select Upload and click Insert Media.

        1. Click Choose file and select a file to upload, or select from previous uploads.

          • The default sort order is most recent upload first.
          • You can search by file name or keyword.
          • A file preview appears after upload or selection. Click   to preview audio and video files.
        2. (Optional) Add or edit keywords for the file to help organize your uploads.

          • Enter a term in the search field below the preview and select from results, or click Add keyword: [term].
          • Click   to remove a keyword.
        3. Click Insert selected media.

        See also: Media library. Contact Support if you are interested in enabling CDN media hosting.

      2. Buttons — Enter button label text and click Add button. Banner and modal messages support up to two buttons. Fullscreen messages support up to five buttons. If there are two buttons total, choose a button layout: separate, joined, or stacked.

      3. Custom KeysAdditional key-value pairs in your push notification payload for use by custom code in your app. You can use custom keys to pass additional campaign identifiers for analytics, pass user information to the device, control the look and feel of the app, provide image links, etc. —  Optional. Enter a key and value. Click Add another for additional keys.

    Template

    To use a TemplateReusable message content that saves you the trouble of having to rewrite a message. Templates support merge fields and other logic, letting you personalize the resulting messages. for the message content:

    1. Select Template.
    2. Choose a template.
    3. Click Continue with selected template.

    If you want to change the design after selecting a template:

    1. Click Edit, then click Edit   to open the template in the WYSIWYG editor.
    2. Make your design changes.
    3. Click Done to save your changes in the WYSIWYG editor, then click Done to return to the Content step.

    Edits affect the current message only and will not be saved for the selected template.

    Interactive editor

    To design message content using the Interactive editor:

    1. Select Interactive Editor.
    2. Click Add   for the message body.
    3. Configure the content:
      • For HTML, select the paste or upload option and add your HTML.
      • For the WYSIWYG editor, first select a default or saved layout, or select Blank Layout to design your own. You can edit any layout after selecting. Then design your message. See: WYSIWYG editor.
    4. Click Done to save your changes, then click Done to return to the Content step.

    After adding content, you can configure Custom KeysAdditional key-value pairs in your push notification payload for use by custom code in your app. You can use custom keys to pass additional campaign identifiers for analytics, pass user information to the device, control the look and feel of the app, provide image links, etc. . Enter a key and value. Click Add another for additional keys.

    Actions

    This step only appears if you added content using the Classic method.

    Assign an action for each button in the message, then configure options. See: Button Actions.

     Note

    If you selected Custom HTML as the style, there are no options available in the Actions step. You must set actions in your custom HTML file.

    Design

    Optionally override the default design settings set for your project. Enable Background, Text, or Buttons, and make your changes.

    • Changes apply to the current message only and do not affect the project’s default design settings.
    • The available options are the same as those available when setting design defaults for your project.

    Behavior

    Configure the trigger that will cause the message to appear to users. You can also configure cancellation events, display conditions, and set a tag when the message is displayed.

    Review

    Review your message. If you want to make changes, click EDIT, make your changes, then either click   or click the central navigation dot to return to the Review step. If you exit before this final step, the message is still a draft and not yet active.

    Click Finish to make the message active.