DataMagik icon

DataMagik

DataMagik Manufacturing & Document Automation API

Lookup Table → Create Data

AI-generated

Summary

Add a new entry to a lookup table by storing a key-value pair.

Inputs

  • tableId (required) — The ID of the lookup table
  • lookupKey (required) — The key to look up / store
  • lookupValue — The value to store as a JSON object

Output shape

The DataMagik API response confirming the created lookup table entry, typically including the entry ID and stored key-value pair.

No n8n return values are generated; the API response is passed through as the node's output JSON.

Examples

Example 1: Add a status entry to a lookup table with ID 'inventory'.

Set tableId to 'inventory', lookupKey to 'status_latest', lookupValue to '{active: true, last_checked: now}'.

Discussion