{\rtf1\ansi\ansicpg1252\cocoartf2759 \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \paperw11900\paperh16840\margl1440\margr1440\vieww11520\viewh8400\viewkind0 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0 \f0\fs24 \cf0 \{\ "name": "MOBLE: Airtable Files Sync",\ "nodes": [\ \{\ "parameters": \{\},\ "id": "manual-trigger",\ "name": "Manual Trigger",\ "type": "n8n-nodes-base.manualTrigger",\ "typeVersion": 1,\ "position": [\ 240,\ 460\ ]\ \},\ \{\ "parameters": \{\ "authentication": "airtableTokenApi",\ "operation": "search",\ "base": \{\ "mode": "id",\ "value": "appXXXXXXXXXXXXXX"\ \},\ "table": \{\ "mode": "id",\ "value": "Files"\ \},\ "options": \{\ "returnAll": true\ \}\ \},\ "id": "airtable-read-files",\ "name": "Airtable: Read Files",\ "type": "n8n-nodes-base.airtable",\ "typeVersion": 2.1,\ "position": [\ 460,\ 460\ ],\ "notes": "TODO: Update Base ID and Table Name\\n- Base ID: appXXXXXXXXXXXXXX (find in Airtable URL)\\n- Table: Files\\n- Returns all records from Files table"\ \},\ \{\ "parameters": \{\ "mode": "runOnceForAllItems",\ "jsCode": "// ============================================\\n// MOBLE AIRTABLE FILES: Field Mapping & Transform\\n// ============================================\\n\\n// HELPER FUNCTIONS\\nconst parseTags = (value) => \{\\n if (!value) return [];\\n // If already array (Multi-select field), use as-is\\n if (Array.isArray(value)) return value;\\n // If string, parse comma-separated or JSON\\n if (typeof value === 'string') \{\\n const trimmed = value.trim();\\n // Try parse JSON array\\n if (trimmed.startsWith('[')) \{\\n try \{\\n return JSON.parse(trimmed);\\n \} catch (e) \{\\n // Not JSON, treat as comma-separated\\n \}\\n \}\\n // Comma-separated\\n return trimmed.split(',').map(t => t.trim()).filter(t => t);\\n \}\\n return [];\\n\};\\n\\nconst parseInteger = (value) => \{\\n if (typeof value === 'number') return Math.floor(value);\\n if (typeof value === 'string') \{\\n const parsed = parseInt(value, 10);\\n return isNaN(parsed) ? null : parsed;\\n \}\\n return null;\\n\};\\n\\nconst parseDate = (value) => \{\\n if (!value) return null;\\n // If Date object, format as YYYY-MM-DD\\n if (value instanceof Date) return value.toISOString().split('T')[0];\\n if (typeof value === 'string') \{\\n // Try ISO format first\\n if (/^\\\\d\{4\}-\\\\d\{2\}-\\\\d\{2\}/.test(value)) \{\\n return value.split('T')[0];\\n \}\\n // Try DD/MM/YYYY\\n const ddmmyyyy = value.match(/^(\\\\d\{1,2\})\\\\/(\\\\d\{1,2\})\\\\/(\\\\d\{4\})$/);\\n if (ddmmyyyy) \{\\n const [, day, month, year] = ddmmyyyy;\\n return `$\{year\}-$\{month.padStart(2, '0')\}-$\{day.padStart(2, '0')\}`;\\n \}\\n // Try other formats (use Date parse as fallback)\\n const parsed = new Date(value);\\n if (!isNaN(parsed)) \{\\n return parsed.toISOString().split('T')[0];\\n \}\\n \}\\n return null;\\n\};\\n\\n// PROCESS ITEMS\\nconst mobleItems = [];\\nconst validationErrors = [];\\n\\nfor (const item of $input.all()) \{\\n const fields = item.json.fields; // Airtable structure\\n const recordId = item.json.id; // For error logging\\n \\n // REQUIRED FIELDS\\n const file_name = (fields['File Name'] || '').trim();\\n const file_url = (fields['File URL'] || '').trim();\\n \\n // VALIDATION: Check required fields\\n if (!file_name || !file_url) \{\\n validationErrors.push(\{\\n source: 'Validation',\\n airtable_record_id: recordId,\\n file_name: file_name || 'N/A',\\n file_url: file_url || 'N/A',\\n error_message: 'Missing required field: ' + (!file_name ? 'file_name' : 'file_url'),\\n timestamp: new Date().toISOString()\\n \});\\n continue; // Skip this record\\n \}\\n \\n // BUILD MOBLE OBJECT\\n const mobleItem = \{\\n file_name,\\n file_url,\\n _airtable_record_id: recordId // Track for logging\\n \};\\n \\n // FILE METADATA (optional fields)\\n if (fields['File Alt Tag']) mobleItem.file_alt_tag = fields['File Alt Tag'].trim();\\n if (fields['File Tags']) mobleItem.file_tags = parseTags(fields['File Tags']);\\n if (fields['File Sort Order']) mobleItem.file_sort_order = parseInteger(fields['File Sort Order']);\\n if (fields['File Display Date']) mobleItem.file_display_date = parseDate(fields['File Display Date']);\\n if (fields['File Author']) mobleItem.file_author = fields['File Author'].trim();\\n if (fields['File Destination URL']) mobleItem.file_destination_url = fields['File Destination URL'].trim();\\n \\n // CONTENT\\n if (fields['File Summary']) mobleItem.file_summary = fields['File Summary'].trim();\\n if (fields['File Content']) mobleItem.file_content = fields['File Content'];\\n if (fields['File KB Content']) mobleItem.file_kb_content = fields['File KB Content'];\\n \\n // CHATBOT\\n if (fields['File Chatbot Summary']) mobleItem.file_chatbot_summary = fields['File Chatbot Summary'].trim();\\n if (fields['File AI Tags']) mobleItem.file_ai_tags = parseTags(fields['File AI Tags']);\\n if (fields['File AI Priority']) mobleItem.file_ai_priority = parseInteger(fields['File AI Priority']);\\n if (fields['File AI Importance']) mobleItem.file_ai_importance = parseInteger(fields['File AI Importance']);\\n if (fields['File AI Instructions']) mobleItem.file_ai_instructions = fields['File AI Instructions'];\\n \\n mobleItems.push(mobleItem);\\n\}\\n\\n// OUTPUT\\nreturn [\\n \{ json: \{ items: mobleItems, validation_errors: validationErrors \} \}\\n];"\ \},\ "id": "code-transform-data",\ "name": "Map & Transform Data",\ "type": "n8n-nodes-base.code",\ "typeVersion": 2,\ "position": [\ 680,\ 460\ ],\ "notes": "Transforms Airtable records to MOBLE file format:\\n- Accesses item.fields (Airtable structure)\\n- Validates required fields (file_name, file_url)\\n- Parses tags (handles Multi-select or comma-separated)\\n- Parses integers (AI Priority, Importance, Sort Order)\\n- Parses dates (multiple formats)\\n- Tracks Airtable record ID for error logging"\ \},\ \{\ "parameters": \{\ "conditions": \{\ "options": \{\ "caseSensitive": true,\ "leftValue": "",\ "typeValidation": "strict"\ \},\ "conditions": [\ \{\ "id": "has-valid-items",\ "leftValue": "=\{\{ $json.items.length \}\}",\ "rightValue": "0",\ "operator": \{\ "type": "number",\ "operation": "gt"\ \}\ \}\ ],\ "combinator": "and"\ \},\ "options": \{\}\ \},\ "id": "if-has-valid-items",\ "name": "Has Valid Items?",\ "type": "n8n-nodes-base.if",\ "typeVersion": 2.2,\ "position": [\ 900,\ 460\ ],\ "notes": "Checks if any valid file items exist after validation.\\nIf no valid items, skips API call and proceeds to summary."\ \},\ \{\ "parameters": \{\ "url": "https://api.moble.com/api/site/knowledge/file/batch",\ "authentication": "genericCredentialType",\ "genericAuthType": "httpHeaderAuth",\ "sendHeaders": true,\ "headerParameters": \{\ "parameters": [\ \{\ "name": "Content-Type",\ "value": "application/json"\ \}\ ]\ \},\ "sendBody": true,\ "contentType": "json",\ "specifyBody": "json",\ "jsonBody": "=\{\\n \\"items\\": \{\{ $json.items \}\},\\n \\"sync_mode\\": false\\n\}",\ "options": \{\}\ \},\ "id": "moble-api-batch",\ "name": "MOBLE Files API (Batch)",\ "type": "n8n-nodes-base.httpRequest",\ "typeVersion": 4.2,\ "position": [\ 1120,\ 360\ ],\ "notes": "TODO: Add MOBLE API Credential\\n- Type: Header Auth\\n- Name: Authorization\\n- Value: Bearer ak_your_api_key\\n\\nPOST /api/site/knowledge/file/batch\\nsync_mode: false (safe - creates/updates only)",\ "credentials": \{\}\ \},\ \{\ "parameters": \{\ "mode": "runOnceForAllItems",\ "jsCode": "// ============================================\\n// PROCESS MOBLE API RESPONSE\\n// ============================================\\n\\nconst response = $input.first().json;\\nconst validationErrors = $('Map & Transform Data').first().json.validation_errors || [];\\n\\n// Extract items from MOBLE API response\\nconst items = response.items || [];\\n\\n// Separate into success and errors\\nconst successItems = [];\\nconst apiErrors = [];\\n\\nfor (const item of items) \{\\n if (item.action === 'failed') \{\\n apiErrors.push(\{\\n source: 'MOBLE API',\\n airtable_record_id: item._airtable_record_id || 'N/A',\\n file_name: item.file_name || 'N/A',\\n file_url: item.file_url || 'N/A',\\n error_message: item.error || 'Unknown error',\\n timestamp: new Date().toISOString()\\n \});\\n \} else \{\\n successItems.push(\{\\n file_url: item.file_url,\\n action: item.action,\\n moble_id: item.moble_id,\\n last_synced: new Date().toISOString(),\\n airtable_record_id: item._airtable_record_id || 'N/A'\\n \});\\n \}\\n\}\\n\\n// Combine all errors\\nconst allErrors = [...validationErrors, ...apiErrors];\\n\\n// OUTPUT\\nreturn [\\n \{\\n json: \{\\n success_items: successItems,\\n error_items: allErrors,\\n summary: \{\\n total_processed: items.length,\\n successful: successItems.length,\\n failed: apiErrors.length,\\n validation_errors: validationErrors.length,\\n api_errors: apiErrors.length\\n \}\\n \}\\n \}\\n];"\ \},\ "id": "code-process-response",\ "name": "Process API Response",\ "type": "n8n-nodes-base.code",\ "typeVersion": 2,\ "position": [\ 1340,\ 360\ ],\ "notes": "Separates MOBLE API response into:\\n- Success items (for Success Log)\\n- Error items (for Error Log)\\n- Summary statistics\\n\\nCombines validation errors + API errors"\ \},\ \{\ "parameters": \{\ "conditions": \{\ "options": \{\ "caseSensitive": true,\ "leftValue": "",\ "typeValidation": "strict"\ \},\ "conditions": [\ \{\ "id": "has-success",\ "leftValue": "=\{\{ $json.success_items.length \}\}",\ "rightValue": "0",\ "operator": \{\ "type": "number",\ "operation": "gt"\ \}\ \}\ ],\ "combinator": "and"\ \},\ "options": \{\}\ \},\ "id": "if-has-success",\ "name": "Has Success Items?",\ "type": "n8n-nodes-base.if",\ "typeVersion": 2.2,\ "position": [\ 1560,\ 360\ ]\ \},\ \{\ "parameters": \{\ "mode": "runOnceForAllItems",\ "jsCode": "// Split success items into individual records\\nconst successItems = $input.first().json.success_items || [];\\nreturn successItems.map(item => (\{ json: item \}));"\ \},\ "id": "code-split-success",\ "name": "Split Success Items",\ "type": "n8n-nodes-base.code",\ "typeVersion": 2,\ "position": [\ 1780,\ 280\ ]\ \},\ \{\ "parameters": \{\ "authentication": "airtableTokenApi",\ "operation": "create",\ "base": \{\ "mode": "id",\ "value": "appXXXXXXXXXXXXXX"\ \},\ "table": \{\ "mode": "id",\ "value": "Success Log"\ \},\ "columns": \{\ "mappingMode": "defineBelow",\ "value": \{\ "file_url": "=\{\{ $json.file_url \}\}",\ "action": "=\{\{ $json.action \}\}",\ "moble_id": "=\{\{ $json.moble_id \}\}",\ "last_synced": "=\{\{ $json.last_synced \}\}",\ "airtable_record_id": "=\{\{ $json.airtable_record_id \}\}"\ \}\ \},\ "options": \{\}\ \},\ "id": "airtable-log-success",\ "name": "Airtable: Log Success",\ "type": "n8n-nodes-base.airtable",\ "typeVersion": 2.1,\ "position": [\ 2000,\ 280\ ],\ "notes": "TODO: Update Base ID and Table Name\\n- Base ID: appXXXXXXXXXXXXXX (same base)\\n- Table: Success Log\\n\\nLogs successful file syncs"\ \},\ \{\ "parameters": \{\ "conditions": \{\ "options": \{\ "caseSensitive": true,\ "leftValue": "",\ "typeValidation": "strict"\ \},\ "conditions": [\ \{\ "id": "has-errors",\ "leftValue": "=\{\{ $json.error_items.length \}\}",\ "rightValue": "0",\ "operator": \{\ "type": "number",\ "operation": "gt"\ \}\ \}\ ],\ "combinator": "and"\ \},\ "options": \{\}\ \},\ "id": "if-has-errors",\ "name": "Has Errors?",\ "type": "n8n-nodes-base.if",\ "typeVersion": 2.2,\ "position": [\ 1560,\ 560\ ]\ \},\ \{\ "parameters": \{\ "mode": "runOnceForAllItems",\ "jsCode": "// Split error items into individual records\\nconst errorItems = $input.first().json.error_items || [];\\nreturn errorItems.map(item => (\{ json: item \}));"\ \},\ "id": "code-split-errors",\ "name": "Split Error Items",\ "type": "n8n-nodes-base.code",\ "typeVersion": 2,\ "position": [\ 1780,\ 640\ ]\ \},\ \{\ "parameters": \{\ "authentication": "airtableTokenApi",\ "operation": "create",\ "base": \{\ "mode": "id",\ "value": "appXXXXXXXXXXXXXX"\ \},\ "table": \{\ "mode": "id",\ "value": "Error Log"\ \},\ "columns": \{\ "mappingMode": "defineBelow",\ "value": \{\ "source": "=\{\{ $json.source \}\}",\ "airtable_record_id": "=\{\{ $json.airtable_record_id \}\}",\ "file_name": "=\{\{ $json.file_name \}\}",\ "file_url": "=\{\{ $json.file_url \}\}",\ "error_message": "=\{\{ $json.error_message \}\}",\ "timestamp": "=\{\{ $json.timestamp \}\}"\ \}\ \},\ "options": \{\}\ \},\ "id": "airtable-log-errors",\ "name": "Airtable: Log Errors",\ "type": "n8n-nodes-base.airtable",\ "typeVersion": 2.1,\ "position": [\ 2000,\ 640\ ],\ "notes": "TODO: Update Base ID and Table Name\\n- Base ID: appXXXXXXXXXXXXXX (same base)\\n- Table: Error Log\\n\\nLogs validation and API errors"\ \},\ \{\ "parameters": \{\ "content": "## \uc0\u55356 \u57263 SETUP INSTRUCTIONS\\n\\n### 1. AIRTABLE CREDENTIALS\\n- Create Airtable Personal Access Token\\n- Or use OAuth2 for team bases\\n- Add credential in n8n\\n\\n### 2. BASE & TABLE IDS\\nTODO: Update in ALL Airtable nodes:\\n- **Base ID:** appXXXXXXXXXXXXXX\\n- **Table:** Files\\n\\nFind IDs:\\n- Base ID: In Airtable URL\\n- Table ID: Use table name\\n\\n### 3. CREATE TABLES\\n- Files (main data)\\n- Success Log (auto-populated)\\n- Error Log (auto-populated)\\n\\nSee field type recommendations \u8594 \\n\\n### 4. MOBLE API\\nTODO: Add MOBLE API credential\\n- Type: Header Auth\\n- Name: Authorization\\n- Value: Bearer ak_your_api_key\\n\\n### 5. RUN WORKFLOW\\n- Manual trigger for testing\\n- Set up Airtable trigger for auto-sync\\n\\n### 6. VERIFY\\n- Check Success Log table\\n- Check Error Log table\\n- Fix any errors, re-run",\ "height": 464.79216867469887,\ "width": 377.10843373493976,\ "color": 4\ \},\ "id": "sticky-setup",\ "name": "Sticky Note",\ "type": "n8n-nodes-base.stickyNote",\ "typeVersion": 1,\ "position": [\ 140,\ 140\ ]\ \},\ \{\ "parameters": \{\ "content": "## \uc0\u55357 \u56523 MOBLE FILE FIELDS\\n\\n### REQUIRED:\\n- file_name (File name/title)\\n- file_url (File URL/path)\\n\\n### FILE METADATA:\\n- file_alt_tag (Alt text)\\n- file_tags (Website tags)\\n- file_sort_order (Integer)\\n- file_display_date (YYYY-MM-DD)\\n- file_author (Author)\\n- file_destination_url (External link)\\n\\n### CONTENT:\\n- file_summary (Short description)\\n- file_content (Website file page HTML)\\n- file_kb_content (Chatbot knowledge)\\n\\n### CHATBOT:\\n- file_chatbot_summary (AI summary)\\n- file_ai_tags (KB Groups)\\n- file_ai_priority (1-10, optional)\\n- file_ai_importance (1-10, optional)\\n- file_ai_instructions (How chatbot uses)\\n\\n### AIRTABLE FIELD TYPES:\\n\u9989 **RECOMMENDED:**\\n- File AI Tags: **Multi-select**\\n- File Tags: **Multi-select**\\n- AI Priority/Importance: **Number** (1-10)\\n- Sort Order: **Number**\\n- Display Date: **Date**\\n- Content fields: **Long Text**\\n\\n\u9888 \u65039 **ALTERNATIVE** (works but less ideal):\\n- Tags as Single Line Text (commas)\\n- Priority as Single Line Text\\n- Workflow will parse these\\n\\n### TAGS:\\n- file_tags = Website tags\\n- file_ai_tags = Chatbot KB Groups\\n\\n### PRIORITY/IMPORTANCE:\\nNOT SPI related!\\nUsed for chatbot file recommendations.\\nFeatured files = higher priority.\\n\\n### FILE URL:\\n- Can be relative: guide.pdf\\n- Or absolute: https://cdn.../guide.pdf\\n- No auto-generation (must be provided)\\n- URL field type validates format\\n\\n### DUAL PURPOSE:\\n- Website: Asset library, downloads\\n- Chatbot: Document search, file recommendations",\ "height": 848.0602409638554,\ "width": 377.10843373493976,\ "color": 5\ \},\ "id": "sticky-fields",\ "name": "Sticky Note1",\ "type": "n8n-nodes-base.stickyNote",\ "typeVersion": 1,\ "position": [\ 540,\ 140\ ]\ \},\ \{\ "parameters": \{\ "content": "## \uc0\u9881 \u65039 ADVANCED SETTINGS\\n\\n### SYNC MODE:\\n- **sync_mode: false** (default - SAFE)\\n Creates/updates only, never deletes\\n \\n- **sync_mode: true** (DANGEROUS)\\n Deletes MOBLE files not in Airtable\\n \\n\u9888 \u65039 **CRITICAL for Files:**\\nDeleting files breaks:\\n- Download links on website\\n- Chatbot file recommendations\\n- Asset library references\\n\\n### BATCH LIMITS:\\n- Airtable: Max 100 records per request\\n- MOBLE API: Handles large batches\\n- Workflow processes all records\\n\\n### AUTO-TRIGGER:\\nSet up Airtable Trigger node:\\n- Trigger: On record created/updated\\n- Table: Files\\n- Auto-syncs on changes\\n\\n### FILTERS:\\nAdd filterByFormula in Airtable node:\\n- Example: \{Status\} = \\"Published\\"\\n- Only sync specific records\\n- Useful for draft/published workflow\\n\\n### ERROR HANDLING:\\n- Retries: 3 attempts with backoff\\n- Logs all errors to Error Log table\\n- Continues processing other records\\n- Review Error Log after each run\\n\\n### LOGGING:\\n- Success Log: All successful syncs\\n- Error Log: Validation + API failures\\n- Use airtable_record_id to trace back\\n- Clear logs periodically\\n\\n### PERFORMANCE:\\n- Airtable rate limits: 5 req/sec\\n- Use batch operations when possible\\n- Workflow handles pagination automatically",\ "height": 738.3132530120482,\ "width": 377.10843373493976,\ "color": 6\ \},\ "id": "sticky-advanced",\ "name": "Sticky Note2",\ "type": "n8n-nodes-base.stickyNote",\ "typeVersion": 1,\ "position": [\ 940,\ 140\ ]\ \},\ \{\ "parameters": \{\ "content": "## \uc0\u55357 \u56513 TABLE 1: FILES (Your Data)\\n\\nCreate table named: **Files**\\n\\n### RECOMMENDED FIELD TYPES:\\n\\n**REQUIRED** (Single Line Text):\\n- File Name\\n- File URL\\n\\n**FILE METADATA:**\\n- File Alt Tag (Single Line Text)\\n- File Tags (**Multi-select**) \u11088 \\n- File Sort Order (Number)\\n- File Display Date (Date)\\n- File Author (Single Line Text)\\n- File Destination URL (URL)\\n\\n**CONTENT** (Long Text):\\n- File Summary\\n- File Content (HTML)\\n- File KB Content\\n\\n**CHATBOT:**\\n- File Chatbot Summary (Long Text)\\n- File AI Tags (**Multi-select**) \u11088 \\n- File AI Priority (Number, 1-10)\\n- File AI Importance (Number, 1-10)\\n- File AI Instructions (Long Text)\\n\\n\u11088 **BEST PRACTICE:**\\nUse **Multi-select** for tags (not commas)\\n- Returns array automatically\\n- Prevents typos\\n- Better UX\\n\\n**ALTERNATIVE:**\\nCan use Single Line Text with commas\\n- Workflow will parse: \\"pdf,guide,download\\"\\n- Less ideal than Multi-select\\n\\n### EXAMPLE RECORDS:\\n\\n**File Name:** Product Guide 2025\\n**File URL:** product-guide-2025.pdf\\n**File AI Tags:** [guide, products, pdf]\\n**File AI Priority:** 9\\n\\n**File Name:** Getting Started\\n**File URL:** getting-started.pdf\\n**File AI Tags:** [onboarding, guide]\\n**File AI Priority:** 10\\n\\n### NOTES:\\n- Field names are case-sensitive\\n- Both File Name and File URL required\\n- Use only fields you need\\n- Workflow reads all records\\n- File URL can be relative or absolute\\n- File Tags = Website tags\\n- File AI Tags = Chatbot KB Groups",\ "height": 848.0602409638554,\ "width": 377.10843373493976,\ "color": 4\ \},\ "id": "sticky-table-files",\ "name": "Sticky Note3",\ "type": "n8n-nodes-base.stickyNote",\ "typeVersion": 1,\ "position": [\ 1340,\ 140\ ]\ \},\ \{\ "parameters": \{\ "content": "## \uc0\u55357 \u56522 TABLE 2: SUCCESS LOG\\n\\nCreate table named: **Success Log**\\n\\n### FIELD TYPES:\\n- **file_url** (Single Line Text)\\n- **action** (Single Select: created/updated/deleted)\\n- **moble_id** (Number)\\n- **last_synced** (Date & Time)\\n- **airtable_record_id** (Single Line Text)\\n\\nLeave empty - workflow auto-populates\\n\\n### PURPOSE:\\nTracks all successful file syncs\\n\\n### EXAMPLE OUTPUT:\\n**file_url:** product-guide-2025.pdf\\n**action:** created\\n**moble_id:** 12345\\n**last_synced:** 2025-01-15 10:30:00\\n**airtable_record_id:** recABC123\\n\\n### NOTES:\\n- Field names must match exactly\\n- Workflow appends new records\\n- Review after each sync\\n- Track file metadata updates\\n- airtable_record_id links back to Files table",\ "height": 424.33734939759034,\ "width": 377.10843373493976,\ "color": 5\ \},\ "id": "sticky-table-success",\ "name": "Sticky Note4",\ "type": "n8n-nodes-base.stickyNote",\ "typeVersion": 1,\ "position": [\ 1740,\ 140\ ]\ \},\ \{\ "parameters": \{\ "content": "## \uc0\u9888 \u65039 TABLE 3: ERROR LOG\\n\\nCreate table named: **Error Log**\\n\\n### FIELD TYPES:\\n- **source** (Single Select: Validation/MOBLE API)\\n- **airtable_record_id** (Single Line Text)\\n- **file_name** (Single Line Text)\\n- **file_url** (Single Line Text)\\n- **error_message** (Long Text)\\n- **timestamp** (Date & Time)\\n\\nLeave empty - workflow auto-populates\\n\\n### PURPOSE:\\nTracks validation errors and API failures\\n\\n### EXAMPLE OUTPUT:\\n**source:** Validation\\n**airtable_record_id:** recDEF456\\n**file_name:** N/A\\n**file_url:** N/A\\n**error_message:** Missing required field: file_name\\n**timestamp:** 2025-01-15 10:30:00\\n\\n**source:** MOBLE API\\n**airtable_record_id:** recGHI789\\n**file_name:** Product Guide\\n**file_url:** guide.pdf\\n**error_message:** Duplicate file URL\\n**timestamp:** 2025-01-15 10:30:01\\n\\n### NOTES:\\n- Field names must match exactly\\n- Workflow appends errors\\n- Fix errors in Files table\\n- Re-run workflow\\n- Check URL formats\\n- Use airtable_record_id to find problem records",\ "height": 566.1084337349397,\ "width": 377.10843373493976,\ "color": 6\ \},\ "id": "sticky-table-errors",\ "name": "Sticky Note5",\ "type": "n8n-nodes-base.stickyNote",\ "typeVersion": 1,\ "position": [\ 2140,\ 140\ ]\ \}\ ],\ "connections": \{\ "Manual Trigger": \{\ "main": [\ [\ \{\ "node": "Airtable: Read Files",\ "type": "main",\ "index": 0\ \}\ ]\ ]\ \},\ "Airtable: Read Files": \{\ "main": [\ [\ \{\ "node": "Map & Transform Data",\ "type": "main",\ "index": 0\ \}\ ]\ ]\ \},\ "Map & Transform Data": \{\ "main": [\ [\ \{\ "node": "Has Valid Items?",\ "type": "main",\ "index": 0\ \}\ ]\ ]\ \},\ "Has Valid Items?": \{\ "main": [\ [\ \{\ "node": "MOBLE Files API (Batch)",\ "type": "main",\ "index": 0\ \}\ ]\ ]\ \},\ "MOBLE Files API (Batch)": \{\ "main": [\ [\ \{\ "node": "Process API Response",\ "type": "main",\ "index": 0\ \}\ ]\ ]\ \},\ "Process API Response": \{\ "main": [\ [\ \{\ "node": "Has Success Items?",\ "type": "main",\ "index": 0\ \},\ \{\ "node": "Has Errors?",\ "type": "main",\ "index": 0\ \}\ ]\ ]\ \},\ "Has Success Items?": \{\ "main": [\ [\ \{\ "node": "Split Success Items",\ "type": "main",\ "index": 0\ \}\ ]\ ]\ \},\ "Split Success Items": \{\ "main": [\ [\ \{\ "node": "Airtable: Log Success",\ "type": "main",\ "index": 0\ \}\ ]\ ]\ \},\ "Has Errors?": \{\ "main": [\ [\ \{\ "node": "Split Error Items",\ "type": "main",\ "index": 0\ \}\ ]\ ]\ \},\ "Split Error Items": \{\ "main": [\ [\ \{\ "node": "Airtable: Log Errors",\ "type": "main",\ "index": 0\ \}\ ]\ ]\ \}\ \},\ "settings": \{\ "executionOrder": "v1",\ "saveManualExecutions": true,\ "saveExecutionProgress": false,\ "saveDataErrorExecution": "all",\ "saveDataSuccessExecution": "all"\ \},\ "tags": [\ \{\ "name": "moble"\ \},\ \{\ "name": "files"\ \},\ \{\ "name": "airtable"\ \},\ \{\ "name": "knowledge-base"\ \}\ ]\ \}}