Automation library · Research and reporting

Scrape Google Scholar research papers with Groq and SerpAPI

Started by someone opening a chat with it, and works across Google Sheets. It hands the judgement calls to Groq. 17 steps, 1 branch, 2 loops or waits: a working afternoon to understand properly.

MediumCalls a model: Groq

17 stepsMedium: a working afternoon
1Branch: places the flow splits
2Loops or waits
1Service it connects to

The flow

Starts it 1Model 4Logic 9Service 3

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

  1. 1When chat message receivedChat triggerStarts it
  2. 2Groq Chat ModuleLm Chat GroqModel
  3. 3Groq Chat Module AltLm Chat GroqModel
  4. 4LLM Chain ProcessorChain LlmModel
  5. 5Extract InformationInformation ExtractorModel
  6. 6Set Initial Query FieldsSetLogic
  7. 7Refine Search QueriesCodeLogic
  8. 8Search Google ScholarSerp ApiService
  9. 9Flatten Google ResultsCodeLogic
  10. 10Check DOI AvailabilityIfLogic
  11. 11Merge ResultsMergeLogic
  12. 12Process Batch ItemsSplit In BatchesLogic
  13. 13Remove Duplicate EntriesCodeLogic
  14. 14Wait 1 SecondWaitLogic
  15. 15Append to Google SheetsGoogle SheetsService
  16. 16Fetch CrossRef DataHttp RequestService
  17. 17Combine CrossRef & Scholar DataCodeLogic

How it's built

Starts on
Someone opening a chat with it
Steps
17, with 1 branch, 2 loops or waits
Size
Medium: a working afternoon
Connects to
Google Sheets
Model
Groq

Questions

What does it need to run?

An n8n account, plus your own Google Sheets account, and a key for Groq. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls Groq. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 17 steps is enough that you should read each one before running it.

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 17 steps before you point it at anything that matters.