# Save to Custom

<figure><img src="https://111806075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mg4otljWU9FsHKYhTsW%2Fuploads%2FvRyBXTRctT1QE6YHlFOI%2Fimage.png?alt=media&#x26;token=5a33632d-e599-40f3-bd55-8556121d8c6e" alt=""><figcaption></figcaption></figure>

Node stores data from incoming Message payload to the Cassandra database into the predefined custom table that should have **cs\_tb\_** prefix, to avoid the data insertion to the common TB tables.

Please note, that rule node can be used only for **Cassandra DB**.

Configuration:

Administrator should set the custom table name without prefix: **cs\_tb\_**.

Administrator can configure the mapping between the Message field names and Table columns name. If the mapping key is **$entityId**, that is identified by the Message Originator, then to the appropriate column name(mapping value) will be write the message originator id.

<figure><img src="https://111806075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mg4otljWU9FsHKYhTsW%2Fuploads%2Fn5epXTNTbLmjOr6VfBuk%2Fimage.png?alt=media&#x26;token=5711d269-c486-495a-95bc-a3d92e0d1628" alt=""><figcaption></figcaption></figure>

If specified message field does not exist in the **data** of the message or is not a JSON Primitive, the outbound message will be routed via **Failure** chain, otherwise, the message will be routed via **Success** chain.

**NOTE**: Please make sure that you are not using **metadata** keys in the configuration - only **data** keys are possible.
