Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

We recommend you to keep a static narrative copy, so you can easily make modifications in the future, without having to work with a more complex dynamically configured narrative. You can do that by having your static narrative connected to another widget you use only for testing or by connecting to the same widget, but adding a context (for example: checking the value of a request parameter) so that the static narrative is used when this parameter is set in your API request.

Step 1: Create your Narrative TPO Widget

Every Narrative is connected to a TPO widget. This way, when you make your call to the Boxalino Narrative API you can indicate the widget you would like to retrieve your Narrative from.

You can create a widget without any special strategy simply by following the guide : How to add a new TPO Widget

Info

As you will create a widget for a Narrative, make sure to select one of the 3rd line TPO : PRESENT, TELL OR PERSUADE as described in the How the above How to link.