Skip to main content

What are smart stories?

Smart Stories are stories created using API and StorifyMe Assistant where we can match the template with the content that you provide. This way, the creation of the stories can be automated.

The length of a story is set to 6s, if the auto advance option is enabled, or until a person scrolls to another story, if the auto advance option is disabled. The story duration can be unlimited: if a video is included the story will last for the duration of a video, if animation is included for the duration of the animation.

How to integrate

Integration is as easy as 4 steps:

  1. Defining Dynamic data in StorifyMe
  2. Mapping the Dynamic data with the story that you want to use as a template
  3. Saving that story as a template so it can be re-used for later
  4. Calling /api/assistant/smart/story endpoint with the template/data combination to create stories

Of course, StorifyMe team will help you in any of the steps.

1. Defining Dynamic data

All you have to do is go to the StorifyMe Dynamic Data and define the fields that you want to provide/use in stories.

Please save the ID that was generated for your dynamic data mapping collection, you will need it later on.

2. Mapping data

After the dynamic data is defined, you can open/create any story and start filling it with placeholders for Dynamic Data.

Once you add a text field for example, in the Toolbar you will see an option to Add Dynamic Data, once adding it this placeholder will be changed with the data you provide.

3. Saving template

Next, go back to the list of stories, select your story context menu and select option Save as template that will save the story as a template so it can be used later on.

You will be able to get the template ID from the template preview screen, which you can find by going to Templates and clicking on Preview template.

4. Call API and create smart story

Finally, you will be able to call the API and create the smart story by providing your data. You can find the details of the API call and the payload schema in the API Reference.

Let us know if you need any help, we are more than happy to.