Index public pages in Pinecone with Firecrawl and OpenAI

Refresh embeddings for changed public articles and remove withdrawn articles or obsolete passages from the Pinecone index.

20 stepsProduct and engineering

Free to start, no card required.

How it works

  1. When this happens

    Refresh published articles daily

    Schedule

  2. Step 1 · Code

    Read the approved article list

  3. Step 2

    Check the source record

    Follows the first path that matches

    • Complete record

      1. Step 3 · Storage

        Read the previous publication list

      2. Step 4 · Code

        Compare current and previous articles

      3. Step 5 · Storage

        Save articles pending reconciliation

      4. Step 6

        Reconcile each public article

        1. Step 7

          Check current publication status

          Follows the first path that matches

          • Approved article

            1. Step 8 · Firecrawl

              Read the public article in Firecrawl

            2. Step 9 · Storage

              Read the last indexed content hash

            3. Step 10 · Code

              Split and compare the article text

            4. Step 11

              Check the source record

              Follows the first path that matches

              • Complete record

                1. Step 12 · OpenAI

                  Embed the revised article with OpenAI

                2. Step 13 · Code

                  Build Pinecone records with source text

                3. Step 14 · Pinecone

                  Write fresh passages to Pinecone

                4. Step 15 · Pinecone

                  Remove obsolete trailing passages

                5. Step 16 · Storage

                  Save the indexed article revision

              • Otherwise

                Nothing happens

          • Otherwise

            1. Step 17 · Pinecone

              Remove the unpublished article

            2. Step 18 · Storage

              Clear the previous content hash

        Repeats for every item

      5. Step 19 · Storage

        Finish the publication list update

    • Otherwise

      Nothing happens

Before you start

Enter the public site hostname and up to 25 approved article URLs, one per line, each with 40–20,000 characters of content. Set the host of a 512-dimension Pinecone index and a dedicated namespace, then connect Firecrawl and OpenAI. Remove a URL to withdraw that article, or enable empty lists to withdraw them all.

Accounts to connect

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template