<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="eli.ai" agent="eli.ai diagram exporter" version="1">
  <diagram id="intake-connector-execution-010a1cb7" name="Intake connector execution">
    <mxGraphModel dx="1600" dy="1200" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1600" pageHeight="1200" math="0" shadow="0">
      <root>
        <mxCell id="0"/>
        <object id="1" label="Intake connector execution" schemaVersion="1" diagramId="intake-connector-execution-010a1cb7" canonicalAppearanceKey="tsx:src/app/(docs)/docs/modules/intake/page.tsx:intakeFlow#1" sourceSha256="010a1cb78110aa28f45b2b818e38dfaec52d89133a13cd311002baf5fa69a79b" metadataPayloadSha256="e3e32783aa7f9b84b8fee71c7600042d808a364c724de4c5f14b4637fa263b93" generationKey="9dcb99e8681467815a91e22ca95b89d71cf21723cd4993c2a1db16611dda6d9b" concepts="[&quot;Intake flow&quot;,&quot;Modules&quot;,&quot;Intake&quot;]" keywords="[&quot;keyed on source_id + external_id&quot;,&quot;enqueue only · 202&quot;,&quot;documents + chunks&quot;,&quot;append-only stats&quot;,&quot;Confluence · SharePoint · Slack&quot;,&quot;POST /connectors/:id/sync&quot;,&quot;worker · runConnectorSync&quot;,&quot;per-source advisory lock&quot;,&quot;fullLoad / poll / listIds&quot;,&quot;markdown + contentHash + aclPrincipals&quot;,&quot;checkpoint after every page&quot;,&quot;markdown_upload&quot;,&quot;sync_runs&quot;,&quot;connector_sources.sync_state&quot;,&quot;queue&quot;,&quot;connector&quot;,&quot;NormalizedDocument&quot;]" application="{&quot;name&quot;:&quot;eli-ai&quot;,&quot;version&quot;:&quot;0.1.0&quot;}" packages="{&quot;mermaid&quot;:&quot;11.16.0&quot;,&quot;mermaidCli&quot;:&quot;11.16.0&quot;,&quot;playwright&quot;:&quot;1.62.1&quot;,&quot;playwrightCore&quot;:&quot;1.62.1&quot;,&quot;puppeteer&quot;:&quot;25.6.0&quot;,&quot;puppeteerCore&quot;:&quot;25.6.0&quot;}" environment="{&quot;architecture&quot;:&quot;x64&quot;,&quot;containerImage&quot;:&quot;playwright:v1.62.1-noble@sha256:c091b21d9fae78c76e85cd4356431e9b018402f172a214fc7d7a5e9a7e29d8ac+node:26.3.1-bookworm-slim@sha256:209558c3e5e40e8adff68959d3c2ba7cd73723e716d89196878a0c362fa1e109&quot;,&quot;node&quot;:&quot;v26.3.1&quot;,&quot;platform&quot;:&quot;linux&quot;,&quot;yarn&quot;:&quot;4.17.1&quot;}" renderer="{&quot;browser&quot;:{&quot;executableSha256&quot;:&quot;0b20b130e7edd9dd51873be867761295fe0cfad490c2b9a64f95bd3cfc08fa71&quot;,&quot;name&quot;:&quot;chromium&quot;,&quot;revision&quot;:&quot;1234&quot;,&quot;version&quot;:&quot;151.0.7922.34&quot;},&quot;font&quot;:{&quot;family&quot;:&quot;Eli Diagram Inter Variable&quot;,&quot;fileSha256&quot;:&quot;3100e775e8616cd2611beecfa23a4263d7037586789b43f035236a2e6fbd4c62&quot;,&quot;licenseSha256&quot;:&quot;3b0a5fca3d17942cde889069889dedbbbd075e9b599968c82a95f4d944e9b345&quot;},&quot;mermaidConfigSha256&quot;:&quot;68c10966fe84406ee626034d58bfabd555df9f65f691204b7c46db24038da101&quot;,&quot;themeCssSha256&quot;:&quot;c80287a78d80ad63d27bd5ca348b2ef9a7e2f44da289e436be6484ea28a1b033&quot;}" adapterVersions="{&quot;diagramGenerator&quot;:&quot;2&quot;,&quot;drawioFlowchart&quot;:&quot;1&quot;,&quot;drawioGantt&quot;:&quot;1&quot;,&quot;drawioSequence&quot;:&quot;1&quot;,&quot;drawioState&quot;:&quot;1&quot;}" mermaidType="flowchart" direction="LR" generatedAt="2026-08-17T18:34:23.983Z" mermaidSource="flowchart LR&#10;  Src[&quot;Confluence · SharePoint · Slack&lt;br/&gt;· markdown_upload&quot;]&#10;  API[&quot;POST /connectors/:id/sync&lt;br/&gt;enqueue only · 202&quot;]&#10;  Q[&quot;queue&quot;]&#10;  W[&quot;worker · runConnectorSync&lt;br/&gt;per-source advisory lock&quot;]&#10;  C[&quot;connector&lt;br/&gt;fullLoad / poll / listIds&quot;]&#10;  N[&quot;NormalizedDocument&lt;br/&gt;markdown + contentHash + aclPrincipals&quot;]&#10;  D[&quot;documents + chunks&lt;br/&gt;keyed on source_id + external_id&quot;]&#10;  S[&quot;connector_sources.sync_state&lt;br/&gt;checkpoint after every page&quot;]&#10;  R[&quot;sync_runs&lt;br/&gt;append-only stats&quot;]&#10;&#10;  API --&gt; Q --&gt; W --&gt; C&#10;  Src --&gt; C&#10;  C --&gt; N --&gt; D&#10;  C --&gt; S&#10;  W --&gt; R">
          <mxCell parent="0"/>
        </object>
        <object id="n:Src" label="Confluence · SharePoint · Slack· markdown_upload" mermaidId="Src" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="467.375" y="65" width="256" height="100" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:API" label="POST /connectors/:id/syncenqueue only · 202" mermaidId="API" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="8" y="215" width="256" height="100" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:Q" label="queue" mermaidId="Q" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="314" y="239" width="103.375" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:W" label="worker · runConnectorSyncper-source advisory lock" mermaidId="W" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="467.375" y="215" width="256" height="100" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:C" label="connectorfullLoad / poll / listIds" mermaidId="C" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="773.375" y="89" width="217.359375" height="76" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:N" label="NormalizedDocumentmarkdown + contentHash + aclPrincipals" mermaidId="N" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="1055.414063" y="8" width="256" height="100" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:D" label="documents + chunkskeyed on source_id + external_id" mermaidId="D" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="1376.09375" y="8" width="256" height="100" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:S" label="connector_sources.sync_statecheckpoint after every page" mermaidId="S" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="1040.734375" y="158" width="285.359375" height="76" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:R" label="sync_runsappend-only stats" mermaidId="R" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="785.414063" y="237" width="193.28125" height="76" as="geometry"/>
          </mxCell>
        </object>
        <object id="e:L_API_Q_0" label="" mermaidId="L_API_Q_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:API" target="n:Q" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="264" y="265" as="sourcePoint"/>
              <mxPoint x="314" y="265" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="289" y="265"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_Q_W_0" label="" mermaidId="L_Q_W_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:Q" target="n:W" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="417.375" y="265" as="sourcePoint"/>
              <mxPoint x="467.375" y="265" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="442.375" y="265"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_W_C_0" label="" mermaidId="L_W_C_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:W" target="n:C" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="716.803571" y="215" as="sourcePoint"/>
              <mxPoint x="814.323646" y="165" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="748.375" y="202"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_Src_C_0" label="" mermaidId="L_Src_C_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:Src" target="n:C" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="723.375" y="115" as="sourcePoint"/>
              <mxPoint x="773.375" y="117.24417" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="748.375" y="115"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_C_N_0" label="" mermaidId="L_C_N_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:C" target="n:N" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="955.675385" y="89" as="sourcePoint"/>
              <mxPoint x="1055.414063" y="58" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="1015.734375" y="58"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_N_D_0" label="" mermaidId="L_N_D_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:N" target="n:D" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="1311.414063" y="58" as="sourcePoint"/>
              <mxPoint x="1376.09375" y="58" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="1351.09375" y="58"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_C_S_0" label="" mermaidId="L_C_S_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:C" target="n:S" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="955.675385" y="165" as="sourcePoint"/>
              <mxPoint x="1040.734375" y="196" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="1015.734375" y="196"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_W_R_0" label="" mermaidId="L_W_R_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:W" target="n:R" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="723.375" y="273.366013" as="sourcePoint"/>
              <mxPoint x="785.414063" y="275" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="748.375" y="275"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
