clarify / node-red-contrib-clarify

A Node-Red node to insert data into Clarify
Apache License 2.0
1 stars 2 forks source link

Example flow: Split data and meta-data #34

Open smyrman opened 3 years ago

smyrman commented 3 years ago

This issue is just tracking an idea about how to achieve something in Node-RED. It currently doesn't have a define use-case or specific need. We could use this idea to create an example flow on https://docs.clarify.us (or in the Node-RED libs community).

Because data and meta-data are uploaded in different API calls, and because this calls can be updated out of order, it is possible to split them into different messages and send them to different flows for insertion into Clarify. That this is possible, might not be immidialtey clear to the node users without good documentation or examples.

Possible use-cases for splitting data and meta-data:

Presumably works best with moving Input ID to topic as described in #28. However, if not, it is always possible to populate msg.topic with a copy of the information in signal.id when using blocks such as rbe or rate-limit.