Kverna Sample Pipeline: Sales Inbox Enrichment ================================================= Difficulty: Intermediate Nodes: 5 Description: Enrich a sales inbox against a messy CRM watchlist using Python. Cleans and normalizes CSV data (priority, stage, dates, deduplication), matches emails by sender domain, and writes a prioritized "Signal Inbox" dashboard to Excel with metrics and conditional formatting. Includes a credentials node and mail:read node already wired — replace the static sample emails with your own Outlook inbox to go live. Some organizations require Entra ID admin consent for mail access; personal accounts (live.com) can self-consent. Your credentials flow directly between Excel and Outlook and never touch Kverna servers. This is an importable Kverna pipeline in JSON format. To import: Copy the JSON below, save as a .json file, then use Import in Kverna. --- BEGIN PIPELINE JSON --- {"version":"2.0.0","exportedAt":"2026-02-22T18:42:39.338Z","pipeline":{"id":"pipeline-1771525068222","name":"pipeline-1771525068222","label":"Preview Pipeline","version":"1.0.0","changeVersion":733,"variables":{},"nodes":[{"id":"data:static-1771525071580-794","type":"data:static","dependencies":[],"position":{"x":-172,"y":351},"config":{"data":"[\n {\n \"id\": \"msg-001\",\n \"subject\": \"Re: Proposal – Nexlify x Orion Logistics\",\n \"fromAddress\": \"t.bergmann@orionlogistics.de\",\n \"fromName\": \"Tobias Bergmann\",\n \"receivedDateTime\": \"2026-02-19T08:14:00Z\",\n \"hasAttachments\": true,\n \"isRead\": false,\n \"bodyPreview\": \"Hi, thanks for sending this over. I've looped in our CFO (Markus) on the pricing section. Can we get 30 min this week to walk through it together? Thursday works for us.\"\n },\n {\n \"id\": \"msg-002\",\n \"subject\": \"Re: Quick question about your current stack\",\n \"fromAddress\": \"priya.nair@stackbridge.io\",\n \"fromName\": \"Priya Nair\",\n \"receivedDateTime\": \"2026-02-19T07:58:00Z\",\n \"hasAttachments\": false,\n \"isRead\": false,\n \"bodyPreview\": \"Hey – honestly we just renewed with our current vendor in December so the timing isn't great. That said, the integration story you described is something we've been wanting. Maybe Q3?\"\n },\n {\n \"id\": \"msg-003\",\n \"subject\": \"Closed lost – Fenwick & Carr\",\n \"fromAddress\": \"sarah.m@nexlify.com\",\n \"fromName\": \"Sarah Mensah\",\n \"receivedDateTime\": \"2026-02-19T07:30:00Z\",\n \"hasAttachments\": false,\n \"isRead\": true,\n \"bodyPreview\": \"Hey, just marking Fenwick & Carr as closed lost in Salesforce. They went with a competitor. Worth a nurture sequence in 6 months? Let me know how you want to handle.\"\n },\n {\n \"id\": \"msg-004\",\n \"subject\": \"Your Gong call summary – Orion Logistics discovery (Feb 18)\",\n \"fromAddress\": \"no-reply@gong.io\",\n \"fromName\": \"Gong\",\n \"receivedDateTime\": \"2026-02-18T18:45:00Z\",\n \"hasAttachments\": false,\n \"isRead\": false,\n \"bodyPreview\": \"Your call with Orion Logistics lasted 38 min. Talk ratio: you 61%, them 39%. 3 next steps identified. Top keywords: pricing, implementation, Q2 go-live.\"\n },\n {\n \"id\": \"msg-005\",\n \"subject\": \"Re: Following up\",\n \"fromAddress\": \"dan.okoro@velantahealth.com\",\n \"fromName\": \"Dan Okoro\",\n \"receivedDateTime\": \"2026-02-18T16:12:00Z\",\n \"hasAttachments\": false,\n \"isRead\": true,\n \"bodyPreview\": \"Hi, apologies for the slow reply. We had a hiring freeze in Q4 but things are moving again. Still interested – can you resend the deck? We've had some team changes.\"\n },\n {\n \"id\": \"msg-006\",\n \"subject\": \"Introduction: Lena Krause – new champion at Driftmark\",\n \"fromAddress\": \"j.holler@driftmark.com\",\n \"fromName\": \"Jonas Holler\",\n \"receivedDateTime\": \"2026-02-18T14:03:00Z\",\n \"hasAttachments\": false,\n \"isRead\": false,\n \"bodyPreview\": \"Hi, wanted to connect you with Lena who is taking over from me on this evaluation. She'll be your main contact going forward. Lena, meet the Nexlify team – context in the thread below.\"\n },\n {\n \"id\": \"msg-007\",\n \"subject\": \"Action required: Sign MSA before Friday\",\n \"fromAddress\": \"contracts@nexlify.com\",\n \"fromName\": \"Nexlify Legal\",\n \"receivedDateTime\": \"2026-02-18T11:00:00Z\",\n \"hasAttachments\": true,\n \"isRead\": true,\n \"bodyPreview\": \"The MSA for Castellan Group has been updated following their redlines. Please review and countersign before Friday EOD to keep the February close on track.\"\n },\n {\n \"id\": \"msg-008\",\n \"subject\": \"Re: Re: Re: Pilot extension – Castellan Group\",\n \"fromAddress\": \"r.walsh@castellangroup.com\",\n \"fromName\": \"Rachel Walsh\",\n \"receivedDateTime\": \"2026-02-18T09:44:00Z\",\n \"hasAttachments\": false,\n \"isRead\": true,\n \"bodyPreview\": \"We're good to proceed. Legal has reviewed and sent back minor redlines on section 4.2. Once that's resolved we're ready to sign. This has taken way longer than it should have, sorry about that.\"\n },\n {\n \"id\": \"msg-009\",\n \"subject\": \"LinkedIn: 3 people viewed your profile this week\",\n \"fromAddress\": \"notifications@linkedin.com\",\n \"fromName\": \"LinkedIn\",\n \"receivedDateTime\": \"2026-02-18T08:00:00Z\",\n \"hasAttachments\": false,\n \"isRead\": false,\n \"bodyPreview\": \"You appeared in 3 searches this week. See who's looking at your profile and reach out while you're top of mind.\"\n },\n {\n \"id\": \"msg-010\",\n \"subject\": \"Salesforce: 4 leads assigned to you\",\n \"fromAddress\": \"noreply@salesforce.com\",\n \"fromName\": \"Salesforce\",\n \"receivedDateTime\": \"2026-02-17T17:30:00Z\",\n \"hasAttachments\": false,\n \"isRead\": false,\n \"bodyPreview\": \"You have 4 new leads from the website contact form. Includes: Peltier Manufacturing, two from Stackbridge Inc, and one unqualified entry.\"\n },\n {\n \"id\": \"msg-011\",\n \"subject\": \"Re: Are you the right person to speak to?\",\n \"fromAddress\": \"info@peltiergroup.eu\",\n \"fromName\": \"Peltier Manufacturing\",\n \"receivedDateTime\": \"2026-02-17T15:22:00Z\",\n \"hasAttachments\": false,\n \"isRead\": false,\n \"bodyPreview\": \"Thanks for reaching out. I've forwarded to our Head of Operations, Claudine Peltier. She handles vendor decisions of this kind. Expect a reply within the week.\"\n },\n {\n \"id\": \"msg-012\",\n \"subject\": \"Out of office: Back on March 3\",\n \"fromAddress\": \"l.krause@driftmark.com\",\n \"fromName\": \"Lena Krause\",\n \"receivedDateTime\": \"2026-02-17T14:01:00Z\",\n \"hasAttachments\": false,\n \"isRead\": true,\n \"bodyPreview\": \"I'm currently out of the office and will return on March 3rd. For urgent matters please contact Jonas Holler at j.holler@driftmark.com.\"\n },\n {\n \"id\": \"msg-013\",\n \"subject\": \"Your February quota update\",\n \"fromAddress\": \"sarah.m@nexlify.com\",\n \"fromName\": \"Sarah Mensah\",\n \"receivedDateTime\": \"2026-02-17T09:15:00Z\",\n \"hasAttachments\": false,\n \"isRead\": true,\n \"bodyPreview\": \"Quick update: you're at 61% of February quota with 8 business days left. Castellan close would bring you to 94%. Orion would put you over. Let's talk pipeline on Friday.\"\n },\n {\n \"id\": \"msg-014\",\n \"subject\": \"Re: Nexlify – worth a conversation?\",\n \"fromAddress\": \"no-reply@outreach.io\",\n \"fromName\": \"Outreach\",\n \"receivedDateTime\": \"2026-02-17T08:00:00Z\",\n \"hasAttachments\": false,\n \"isRead\": false,\n \"bodyPreview\": \"Your sequence 'Q1 Outbound – Mid-market Ops' has 3 prospects who opened your email but didn't reply. Consider a task to call them today.\"\n },\n {\n \"id\": \"msg-015\",\n \"subject\": \"Checking in – Velanta Health\",\n \"fromAddress\": \"c.osei@nexlify.com\",\n \"fromName\": \"Chris Osei\",\n \"receivedDateTime\": \"2026-02-16T16:40:00Z\",\n \"hasAttachments\": false,\n \"isRead\": true,\n \"bodyPreview\": \"Hey – I saw Velanta Health is back in play. I actually did a demo with Dan Okoro about 18 months ago. Happy to share notes if useful. They were close last time but budget got cut.\"\n },\n {\n \"id\": \"msg-016\",\n \"subject\": \"Re: Just checking in\",\n \"fromAddress\": \"m.hoffmann@brindlewick.com\",\n \"fromName\": \"Marcus Hoffmann\",\n \"receivedDateTime\": \"2026-02-16T11:28:00Z\",\n \"hasAttachments\": false,\n \"isRead\": false,\n \"bodyPreview\": \"Hi – we've actually decided to pause any new tooling purchases until H2. Nothing to do with Nexlify specifically, just a board-level decision. I'll reach back out in the summer.\"\n },\n {\n \"id\": \"msg-017\",\n \"subject\": \"Your trial ends in 3 days – Notion\",\n \"fromAddress\": \"noreply@notion.so\",\n \"fromName\": \"Notion\",\n \"receivedDateTime\": \"2026-02-16T09:00:00Z\",\n \"hasAttachments\": false,\n \"isRead\": false,\n \"bodyPreview\": \"Your Notion trial expires on February 22. Upgrade to keep your workspace and all your content.\"\n },\n {\n \"id\": \"msg-018\",\n \"subject\": \"New case study: How Orion-type logistics firms cut onboarding time 40%\",\n \"fromAddress\": \"marketing@nexlify.com\",\n \"fromName\": \"Nexlify Marketing\",\n \"receivedDateTime\": \"2026-02-15T14:00:00Z\",\n \"hasAttachments\": false,\n \"isRead\": false,\n \"bodyPreview\": \"New asset just published – might be useful for your Orion Logistics conversation. PDF attached in the asset library.\"\n },\n {\n \"id\": \"msg-019\",\n \"subject\": \"Re: Partnership opportunity\",\n \"fromAddress\": \"partnerships@somevendor.io\",\n \"fromName\": \"SomeVendor\",\n \"receivedDateTime\": \"2026-02-15T10:15:00Z\",\n \"hasAttachments\": false,\n \"isRead\": false,\n \"bodyPreview\": \"Hi! We think there's a great synergy between our platforms and would love to explore a referral partnership. Would you have 20 minutes for a quick intro call?\"\n },\n {\n \"id\": \"msg-020\",\n \"subject\": \"Fwd: Intro – Nexlify // Peltier Manufacturing\",\n \"fromAddress\": \"a.lindqvist@nordicventures.vc\",\n \"fromName\": \"Anders Lindqvist\",\n \"receivedDateTime\": \"2026-02-14T17:55:00Z\",\n \"hasAttachments\": false,\n \"isRead\": true,\n \"bodyPreview\": \"Happy to make the intro – Claudine runs ops at Peltier and has been asking about workflow automation. I told her you'd reach out. She's expecting your email.\"\n }\n]"},"label":"Sample inbox"},{"id":"node-1771525088802","type":"credentials","dependencies":[],"position":{"x":-544,"y":249},"config":{"authType":"interactive","headerName":"Authorization","headerPrefix":"Bearer ","clientId":"4dc2b681-f357-4a88-8cc1-059c66b457b2","tenantId":"common"}},{"id":"node-1771525096947","type":"mail:read","dependencies":[],"position":{"x":-172,"y":247},"config":{"folder":"inbox","maxMessages":50,"onlyUnread":false,"hasAttachments":false,"markAsRead":false,"includeBody":false,"includeAttachments":false}},{"id":"data:static-1771525128912-718","type":"data:static","dependencies":[],"position":{"x":-174,"y":464},"config":{"data":"company,domain,stage,deal_value,owner,last_contact,priority,notes\nOrion Logistics,orionlogistics.de,Proposal,85000,me,2026-02-19,High,CFO Markus looped in on pricing - get Thursday confirmed\nOrion Logistics,orionlogistics.com,Proposal,,me,Feb 18,,duplicate? check which domain is right\nCastellan Group,castellangroup.com,Closing,62000,me,2026-02-18,High,MSA redlines on 4.2 - sign before Friday\nVelanta Health,velantahealth.com,Rediscovery,40000,me,18/02/26,High,Was dead - Dan Okoro back. Chris has history with them\nDriftmark,driftmark.com,Evaluation,,me,2026-02-17,Medium,Champion change - Jonas out Lena in. Lena OOO til Mar 3\nPeltier Manufacturing,peltiergroup.eu,Inbound,,,Medium,Forwarded to Claudine Peltier (Head of Ops). Anders intro\nStackbridge,stackbridge.io,Prospecting,30000,me,2026-02-19,,Just renewed with competitor - revisit Q3\nBrindlewick,brindlewick.com,Nurture,45000,me,16/02/26,Low,Paused til H2 - board decision. Follow up June\nFenwick & Carr,fenwick-carr.com,Lost,,me,2026-02-19,Low,Went with competitor. Nurture in 6 months?\nNordic Ventures,nordicventures.vc,,,,2026-02-14,,Investor contact - Anders Lindqvist. Good referral source\nGong,gong.io,Tool,,,,,sales tool - ignore in enrichment\nSalesforce,salesforce.com,Tool,,,,, \nOutreach,outreach.io,Tool,,,,,\nLinkedIn,linkedin.com,Tool,,,,,noise\nNotion,notion.so,,,,,,trial expiring - decide\nNexlify Marketing,nexlify.com,Internal,,,,,own company - filter out\nSarah Mensah,nexlify.com,Internal,,,,,manager"},"label":"Messy watchlist"},{"id":"node-1771525451165","type":"transform:python","dependencies":[],"position":{"x":208,"y":322},"config":{"code":"# Task to LLM (after sparring with the same LLM) set to:\n# 1. Clean the watchlist:\n#\n# Normalize priority to one of: High, Medium, Low, or blank\n# Normalize stage to one of: Prospecting, Evaluation, Proposal, Closing, Nurture, Lost, Internal, Tool, or Unknown\n# Normalize last_contact to YYYY-MM-DD where possible, leave blank if unparseable\n# Remove duplicate company entries — keep the one with more complete data\n# Flag rows where domain is missing or ambiguous\n# Clean invalid data\n# \n# 2. Merge:\n# \n# For each email, extract the domain from fromAddress\n# Join against the cleaned watchlist on domain\n# Filter out rows where stage is Internal or Tool\n# Add a match_status field: matched, unmatched, or ambiguous (ambiguous = multiple watchlist rows matched the same domain)\n# \n# 3. Return the enriched email list\nimport json\nimport re\nfrom datetime import datetime\n\n# -------------------------\n# INPUT NORMALIZATION\n# -------------------------\nif isinstance(input_0, str):\n try:\n input_0 = json.loads(input_0)\n except Exception as e:\n raise ValueError(f\"input_0 is not valid JSON: {e}\")\nif not isinstance(input_0, list):\n raise ValueError(\"input_0 must be a list of email objects\")\n\nif isinstance(input_1, str):\n csv_text = input_1\nelse:\n raise ValueError(\"input_1 must be raw CSV string\")\n\n# -------------------------\n# HELPERS\n# -------------------------\nALLOWED_PRIORITIES = {\"High\", \"Medium\", \"Low\"}\nALLOWED_STAGES = {\n \"Prospecting\", \"Evaluation\", \"Proposal\", \"Closing\",\n \"Nurture\", \"Lost\", \"Internal\", \"Tool\"\n}\n\ndef normalize_priority(value):\n if not value:\n return \"\"\n v = value.strip().capitalize()\n return v if v in ALLOWED_PRIORITIES else \"\"\n\ndef normalize_stage(value):\n if not value:\n return \"Unknown\"\n v = value.strip().capitalize()\n return v if v in ALLOWED_STAGES else \"Unknown\"\n\ndef parse_date(value):\n if not value:\n return \"\"\n value = value.strip()\n formats = [\n \"%Y-%m-%d\",\n \"%d/%m/%y\",\n \"%d/%m/%Y\",\n \"%b %d\",\n \"%b %d %Y\"\n ]\n for fmt in formats:\n try:\n dt = datetime.strptime(value, fmt)\n if fmt == \"%b %d\":\n dt = dt.replace(year=datetime.utcnow().year)\n return dt.strftime(\"%Y-%m-%d\")\n except:\n continue\n return \"\"\n\ndef completeness_score(row):\n return sum(1 for v in row.values() if v not in (\"\", None))\n\ndef extract_domain(email):\n addr = email.get(\"fromAddress\", \"\")\n if \"@\" not in addr:\n return \"\"\n return addr.split(\"@\")[1].lower().strip()\n\n# -------------------------\n# CLEAN WATCHLIST\n# -------------------------\ndef clean_watchlist(csv_text):\n lines = [l for l in csv_text.splitlines() if l.strip()]\n if not lines:\n return []\n headers = [h.strip() for h in lines[0].split(\",\")]\n rows = []\n for line in lines[1:]:\n parts = line.split(\",\")\n parts += [\"\"] * (len(headers) - len(parts))\n row = dict(zip(headers, [p.strip() for p in parts]))\n row[\"priority\"] = normalize_priority(row.get(\"priority\"))\n row[\"stage\"] = normalize_stage(row.get(\"stage\"))\n row[\"last_contact\"] = parse_date(row.get(\"last_contact\"))\n domain = row.get(\"domain\", \"\").lower().strip()\n row[\"domain\"] = domain\n row[\"domain_flag\"] = \"\"\n if not domain:\n row[\"domain_flag\"] = \"missing\"\n elif \".\" not in domain:\n row[\"domain_flag\"] = \"ambiguous\"\n rows.append(row)\n \n # Deduplicate by company (keep most complete row)\n deduped = {}\n for row in rows:\n company = row.get(\"company\", \"\").lower().strip()\n if company and company not in deduped:\n deduped[company] = row\n elif company:\n if completeness_score(row) > completeness_score(deduped[company]):\n deduped[company] = row\n return list(deduped.values())\n\n# -------------------------\n# MERGE / ENRICH\n# -------------------------\ndef create_empty_watchlist():\n \"\"\"Consistent empty watchlist structure for unmatched / ambiguous emails\"\"\"\n return {\n \"company\": \"\",\n \"domain\": \"\",\n \"stage\": \"Unknown\",\n \"deal_value\": \"\",\n \"owner\": \"\",\n \"last_contact\": \"\",\n \"priority\": \"\",\n \"notes\": \"\",\n \"domain_flag\": \"\"\n }\n\ndef enrich_emails(emails, cleaned_watchlist):\n domain_index = {}\n for row in cleaned_watchlist:\n if row[\"stage\"] in (\"Internal\", \"Tool\"):\n continue\n domain = row.get(\"domain\")\n if not domain:\n continue\n domain_index.setdefault(domain, []).append(row)\n\n enriched = []\n for email in emails:\n if not isinstance(email, dict):\n raise ValueError(\"Each email must be an object\")\n \n email_domain = extract_domain(email)\n matches = domain_index.get(email_domain, [])\n \n match_status = \"unmatched\"\n watchlist_data = None\n \n if len(matches) == 1:\n match_status = \"matched\"\n watchlist_data = matches[0]\n elif len(matches) > 1:\n match_status = \"ambiguous\"\n # Optional: could pick best match here, but keeping as-is\n \n enriched_email = dict(email) # shallow copy\n enriched_email[\"match_status\"] = match_status\n \n if match_status == \"matched\":\n enriched_email[\"watchlist\"] = watchlist_data\n else:\n # This is the key change: always set a full empty structure\n enriched_email[\"watchlist\"] = create_empty_watchlist()\n \n enriched.append(enriched_email)\n \n return enriched\n\n# -------------------------\n# EXECUTE\n# -------------------------\ncleaned_watchlist = clean_watchlist(csv_text)\nres = enrich_emails(input_0, cleaned_watchlist)\nres","enableCache":false,"cacheTTL":60},"label":"Clean and merge"},{"id":"node-1771525524177","type":"presentation:present","dependencies":[],"position":{"x":212,"y":495},"config":{"sheetName":"KvernaSignalInbox","updateMode":"full","description":"Top section — Signal Inbox\nA table of the enriched emails. Columns: received time, sender name, company, stage, deal value, priority, subject, match status. Sort by priority (High first), then by received time descending. Unmatched rows should be visually de-emphasized. Matched rows with High priority should stand out.\n\nA small summary strip: total emails, matched vs unmatched count, number of High priority matches, total pipeline value (sum of deal_value for matched rows only).\n","presentationSpec":"{\n \"layout\": { \"columns\": 12, \"startColumn\": \"B\" },\n \"theme\": { \n \"primaryColor\": \"#1B3A5C\", \n \"accentColor\": \"#2E86DE\", \n \"backgroundColor\": \"#EAF0F6\", \n \"fontFamily\": \"Segoe UI\" \n },\n \"components\": [\n {\n \"type\": \"text\",\n \"position\": { \"row\": 0, \"col\": 0, \"rowSpan\": 1, \"colSpan\": 12 },\n \"content\": \"Signal Inbox\",\n \"style\": \"title\",\n \"fontSize\": 28,\n \"bold\": true,\n \"color\": \"#1B3A5C\",\n \"align\": \"center\"\n },\n {\n \"type\": \"text\",\n \"position\": { \"row\": 1, \"col\": 0, \"rowSpan\": 1, \"colSpan\": 12 },\n \"content\": \"Prioritized inbound emails from watchlist companies\",\n \"style\": \"subtitle\",\n \"fontSize\": 14,\n \"color\": \"#4A4A4A\",\n \"align\": \"center\"\n },\n {\n \"type\": \"separator\",\n \"position\": { \"row\": 2, \"col\": 0, \"rowSpan\": 1, \"colSpan\": 12 },\n \"style\": \"space\"\n },\n {\n \"type\": \"metric\",\n \"position\": { \"row\": 3, \"col\": 0, \"rowSpan\": 2, \"colSpan\": 3 },\n \"label\": \"Total Emails\",\n \"formula\": \"=COUNTA(${input_0.id})\",\n \"format\": \"0\",\n \"valueFontSize\": 24,\n \"style\": \"card\"\n },\n {\n \"type\": \"metric\",\n \"position\": { \"row\": 3, \"col\": 3, \"rowSpan\": 2, \"colSpan\": 3 },\n \"label\": \"Matched Emails\",\n \"formula\": \"=COUNTIF(${input_0.match_status},\\\"matched\\\")\",\n \"format\": \"0\",\n \"valueFontSize\": 24,\n \"style\": \"card\"\n },\n {\n \"type\": \"metric\",\n \"position\": { \"row\": 3, \"col\": 6, \"rowSpan\": 2, \"colSpan\": 3 },\n \"label\": \"High Priority\",\n \"formula\": \"=COUNTIFS(${input_0.match_status},\\\"matched\\\",${input_0.watchlist_priority},\\\"High\\\")\",\n \"format\": \"0\",\n \"valueFontSize\": 24,\n \"style\": \"card\"\n },\n {\n \"type\": \"metric\",\n \"position\": { \"row\": 3, \"col\": 9, \"rowSpan\": 2, \"colSpan\": 3 },\n \"label\": \"Pipeline Value\",\n \"formula\": \"=SUM(${input_0.watchlist_deal_value})\",\n \"format\": \"$#,##0\",\n \"valueFontSize\": 24,\n \"style\": \"card\"\n },\n {\n \"type\": \"separator\",\n \"position\": { \"row\": 5, \"col\": 0, \"rowSpan\": 1, \"colSpan\": 12 },\n \"style\": \"space\"\n },\n {\n \"type\": \"table\",\n \"position\": { \"row\": 6, \"col\": 0, \"rowSpan\": 1, \"colSpan\": 12 },\n \"dataSource\": \"input_0\",\n \"columns\": [\n \"receivedDateTime\",\n \"fromName\",\n \"watchlist_company\",\n \"watchlist_stage\",\n \"watchlist_deal_value\",\n \"watchlist_priority\",\n \"subject\",\n \"match_status\"\n ],\n \"columnLabels\": {\n \"receivedDateTime\": \"Received\",\n \"fromName\": \"Sender\",\n \"watchlist_company\": \"Company\",\n \"watchlist_stage\": \"Stage\",\n \"watchlist_deal_value\": \"Deal Value\",\n \"watchlist_priority\": \"Priority\",\n \"subject\": \"Subject\",\n \"match_status\": \"Match\"\n },\n \"headerStyle\": { \"bold\": true, \"fillColor\": \"#1B3A5C\", \"fontColor\": \"#FFFFFF\", \"fontSize\": 11 },\n \"alternateRowColor\": \"#F0F4F8\",\n \"conditionalFormats\": [\n {\n \"type\": \"cellValue\",\n \"column\": \"match_status\",\n \"rule\": \"notEqualTo\",\n \"values\": [\"matched\"],\n \"format\": { \"fontColor\": \"#888888\" }\n },\n {\n \"type\": \"cellValue\",\n \"column\": \"match_status\",\n \"rule\": \"equalTo\",\n \"values\": [\"matched\"],\n \"format\": { \"bold\": true }\n },\n {\n \"type\": \"cellValue\",\n \"column\": \"watchlist_priority\",\n \"rule\": \"equalTo\",\n \"values\": [\"High\"],\n \"format\": { \"fillColor\": \"#FFC000\", \"fontColor\": \"#000000\", \"bold\": true }\n }\n ],\n \"sortBy\": \"watchlist_priority\",\n \"sortOrder\": \"desc\",\n \"maxRows\": 20\n }\n ]\n}"},"label":"Lead enriched inbox"}],"triggers":[{"id":"pipeline-1771525068222-trigger-manual","label":"Manual","type":"manual","enabled":true,"description":"Executes when \"Run Pipeline\" button is pressed","position":{"x":89,"y":58}},{"id":"pipeline-1771525068222-trigger-startup","label":"On Startup","type":"startup","enabled":true,"description":"Executes when the workbook is opened","position":{"x":324,"y":55}}],"edges":[{"source":"node-1771525088802","target":"node-1771525096947","sourceHandle":"credentials","targetHandle":"credentials","id":"node-1771525088802-node-1771525096947-credentials-credential","type":"credential","required":true},{"source":"data:static-1771525128912-718","target":"node-1771525451165","sourceHandle":"data-out","targetHandle":"input-1","id":"data:static-1771525128912-718-node-1771525451165-data-out-orderedInput","type":"orderedInput","inputIndex":1},{"source":"node-1771525451165","target":"node-1771525524177","sourceHandle":"data-out","targetHandle":"input-0","id":"node-1771525451165-node-1771525524177-data-out-orderedInput","type":"orderedInput","inputIndex":0},{"source":"pipeline-1771525068222-trigger-manual","target":"node-1771525451165","sourceHandle":"execution-out","targetHandle":"execution-in","id":"pipeline-1771525068222-trigger-manual-node-1771525451165-execution-out-execution","type":"execution"},{"source":"node-1771525451165","target":"node-1771525524177","sourceHandle":"execution-out","targetHandle":"execution-in","id":"node-1771525451165-node-1771525524177-execution-out-execution","type":"execution"},{"source":"data:static-1771525071580-794","target":"node-1771525451165","sourceHandle":"data-out","targetHandle":"input-0","id":"data:static-1771525071580-794-node-1771525451165-data-out-orderedInput","type":"orderedInput","inputIndex":0}]}} --- END PIPELINE JSON ---