Loading Dynamic Content from a URL

One of Flashy’s many unique features is the ability we give businesses to load dynamic content into an email from a URL. If you want to show products, articles, videos, or any other outside content in your email campaigns or automations - content not contained in the Flashy platform - this tool is for you.  

How to Load Dynamic Content

To explore this powerful feature, please go to Templates in your Flashy dashboard at the top of the screen. Open an email template of your choice.

In the left side General Settings menu, you’ll see a “Data URL” field. Any URL that will share the data with us that you want to include in an email can be entered here.

Use Cases 

For example, say that you want to include data about the location of different branches of your business based on customers’ locations. You would need to provide Flashy with a URL that feeds us the necessary customer contact information - in this example, the cities where they live - to include this dynamic content in the email.

This data would be obtained by adding specific parameters to the URL, such as “?city=[[city]].” Every time Flashy sends an email to your customers, we will first retrieve the data from the URL you’ve provided, so that each customer’s city will automatically be filled in the [[city]] brackets. Then, Flashy can use this information inside the email, including the dynamic content that applies to each customer: the business branches that are closest to them.  

Another powerful way to use this tool is with customer rewards. You would give Flashy some type of customer identification, such as an email address or phone number, to insert in the email template. This identifying information links us to the customer, so that data about how many rewards points the customer has on your side can be sent to Flashy. If you’re working with an email address, the parameter of “?email=[[email]]” would be added at the end of the URL. Each customer’s actual email address will be inserted in the brackets when they enter the automation. You will be able to see each email address in the URL, and check on how many rewards points each customer has. The number of rewards points can then be included in the email template within a specific field. 

Guidance from Flashy

Whatever your goal is, Flashy will advise you on how to structure the URL so that the information we need is returned to us. No complicated coding necessary! The only code you need to write is the URL. 

In general, the information will be live, so we will check with you shortly before we send the email to get the most updated information from the URL. Flashy will then build the email based on what you provide and send it out. 

JSON URL Format Requirement

In answer to a frequently asked question, the required format for sending this information is JSON URL. The endpoint needs to return a valid JSON response to our platform. Please see https://docs.flashyapp.com/developers/dynamic-content/json-url for more information.

Our advanced users have told us how much they love using dynamic content from a URL. Interested in seeing what it can do for your business? Contact us today, and we’ll be happy to assist you with every step!