Changelog

2024-08-23

  • Improvements

    • Customer and business objects now support metadata. API users can post arbitrary JSON data to the metadata field on POST /businesses, POST /businesses/:id, POST /businesses/:id/customers and POST /customers/:id. The metadata is returned in the relevant GET endpoints and can be accessed in email and SMS templates

    • Email template embeds

      • You can now trigger saves in email template embeds from outside the iframe. Use the window.postMessage API to send a message to the iframe, example below:
        const iframe = document.getElementsByTagName("iframe")[0];
        iframe.contentWindow.postMessage(
          { pocketflows: true, action: "save" },
          "*",
        );
        
      • You can now hide the top bar of the email template editor. Simply pass ?hide_top_bar=true to the GET /email_template_embeds/:id/show endpoint
    • Campaigns now return sending statistics. See how many customers are currently enrolled in the campaign and their status within the campaign. See the statistics field on the Campaign object here

The Pocketflows logo

Pocketflows


© Pocketflows