Skip to content

Read from memory plugin

This plugin allows you to read from cross-instance Tracardi user memory, using given key.

Requirements

Redis database has to be installed and running in order for this plugin to work.

Input

This plugin takes any payload as input.

Outputs

This plugin returns value on port success if the value was successfully read from the memory, or error detail on port error if an error occurred.

Example of value on success port

{
  "value": {
    "data-1": 1,
    "data-2": 2
  }
}

Example of value on error port

{
  "detail": "Error message"
}

Configuration

  • Key - A name of the variable that holds saved data. Please refer to write plugin to find out the correct key. Missing key will return null value on success port.

Advanced configuration

{
  "key": "<key-to-value-in-memory>"
}