import_json_file
Import messages from any JSON file by specifying field names for message text, sender, and timestamp. Supports Google Chat, LinkedIn, and custom formats.
Instructions
Import messages from any JSON file. Provide field names for your data format.
Supports JSON arrays, JSON-lines format, and wrapped objects. Covers Google Chat takeout, Google Hangouts exports, LinkedIn data, and any custom JSON format.
Args: file_path: Path to the JSON or JSON-lines file content_field: Field name containing the message text (required) sender_field: Field name containing the sender name (optional) timestamp_field: Field name containing the timestamp (optional, auto-detects format) source_label: Label to tag imported messages with (default: 'json-import')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| content_field | Yes | ||
| sender_field | No | ||
| timestamp_field | No | ||
| source_label | No | json-import |