# Analyze npm packages with Firecrawl and GitHub: n8n workflow

> Started by someone submitting a form, and works across GitHub and Slack. It hands the judgement calls to Gemini and OpenAI.

Source: https://millionrounds.com/workflow/analyze-npm-packages-with-firecrawl-and-github (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Data collection](https://millionrounds.com/workflows?category=Data+collection#library)

# Analyze npm packages with Firecrawl and GitHub

Started by someone submitting a form, and works across GitHub and Slack. It hands the judgement calls to Gemini and OpenAI. 24 steps, 1 branch: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini, OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanalyze-npm-packages-with-firecrawl-and-github)

**24 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 5 Logic 9 Service 9

The steps in the order they run, from what starts it.

- 1 **Google Gemini Chat Model1** Lm Chat Google Gemini *Model*
- 2 **/search in Firecrawl** Firecrawl Tool *Service*
- 3 **/scrape in Firecrawl** Firecrawl Tool *Service*
- 4 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 5 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 6 **Enter Package Name** Form trigger *Starts it*
- 7 **AI Analysis Engine** Agent *Model*
- 8 **Structured Output Parser** Output Parser Structured *Model*
- 9 **Normalize Input** Set *Logic*
- 10 **Send Slack Report** Slack *Service*
- 11 **Search NPM URL** Firecrawl *Service*
- 12 **Search GitHub Repo** Firecrawl *Service*
- 13 **Merge Search Results** Merge *Logic*
- 14 **Extract Clean URLs** Code *Logic*
- 15 **Fetch GitHub Stats** Github *Service*
- 16 **Github details** Set *Logic*
- 17 **Fetch Last Commit** Http Request *Service*
- 18 **Merge All Metrics** Merge *Logic*
- 19 **Commit deatils** Set *Logic*
- 20 **Compute Health Metrics** Set *Logic*
- 21 **Fetch NPM Downloads** Http Request *Service*
- 22 **Check Package Valid** If *Logic*
- 23 **Package Not Found Handler** Set *Logic*
- 24 **Send Slack Report_01** Slack *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 24, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** GitHub, Slack
- **Model:** Gemini, OpenAI

## Questions

What does it need to run?

An n8n account, plus your own GitHub and Slack accounts, and a key for Gemini and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls Gemini and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 24 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fanalyze-npm-packages-with-firecrawl-and-github)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[GitHub](https://millionrounds.com/workflows?service=GitHub#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**Linear to Productboard feature sync with Slack** 24 steps · Slack](https://millionrounds.com/workflow/linear-to-productboard-feature-sync-with-slack)
- [**Multi-channel campaign performance tracker with Slack** 23 steps · Email, Slack](https://millionrounds.com/workflow/multi-channel-campaign-performance-tracker-with-slack)
- [**Bidirectional GitHub workflow sync & version control** 22 steps · GitHub](https://millionrounds.com/workflow/bidirectional-github-workflow-sync-and-version-control)
- [**Selectively import workflows** 26 steps · GitHub](https://millionrounds.com/workflow/selectively-import-workflows)
- [**Sync WhatsApp conversations to GoHighLevel notes with Wati** 22 steps · Google Sheets, Slack](https://millionrounds.com/workflow/sync-whatsapp-conversations-to-gohighlevel-notes-with-wati)
- [**Track employee onboarding forms with Google Sheets and Gmail** 26 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/track-employee-onboarding-forms-with-google-sheets-and-gmail)
