# How to create a node that accepts both a constant and a list?

**URL:** <https://forum.gumloop.com/t/how-to-create-a-node-that-accepts-both-a-constant-and-a-list/2747>\
**Category:** Get Help\
**Tags:** Website-Scraper, General\
**Created:** [May 14, 2025, 3:38pm UTC](https://forum.gumloop.com/t/how-to-create-a-node-that-accepts-both-a-constant-and-a-list/2747 "2025-05-14T15:38:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![davestein1](https://avatars.discourse-cdn.com/v4/letter/d/f1d935/32.png) [@davestein1](https://forum.gumloop.com/u/davestein1)\
**Post date:** [May 14, 2025, 3:38pm UTC](https://forum.gumloop.com/t/how-to-create-a-node-that-accepts-both-a-constant-and-a-list/2747/1 "2025-05-14T15:38:08Z")

</div>

Hello team,  
I’m getting familiar with your nodes and I can use the browser to web scrape (yay!) and can loop through a google sheets list (yay!) yet…I can’t find help on how to loop to operate on a single a web scrape.

How do I construct a node/flow to accept a constant (a single web scrape) and also a list (from a google sheet)?

I’m trying to construct something very simple:  
a) use the single output from the chrome browser extension output (static HTML source) and  
b) loop thru an google sheet pulling things out of the web scrape.

How do I set this up?

I’m sure I’m missing something trivial.

I’m enjoying the development environment you have created!

---

<div class="post-metadata">

**Author:** ![Gumloop\_Bot](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/gumloop_bot/32/504_2.png) [@Gumloop\_Bot](https://forum.gumloop.com/u/Gumloop_Bot)\
**Post date:** [May 14, 2025, 3:38pm UTC](https://forum.gumloop.com/t/how-to-create-a-node-that-accepts-both-a-constant-and-a-list/2747/2 "2025-05-14T15:38:09Z")

</div>

Hey @davestein1! If you’re reporting an issue with a flow or an error in a run, please include the **run link** and make sure it’s **shareable** so we can take a look.

1. **Find your run link** on the history page. Format: `https://www.gumloop.com/pipeline?run_id={{your_run_id}}&workbook_id={{workbook_id}}`

2. **Make it shareable** by clicking **“Share”** → ‘Anyone with the link can view’ in the top-left corner of the flow screen.  
 ![GIF guide](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/1X/92c00c612fd65b861e706dd1b5eec5ec61677835.gif)

3. **Provide details** about the issue—more context helps us troubleshoot faster.

You can find your run history here: [https://www.gumloop.com/history](https://www.gumloop.com/history)

---

<div class="post-metadata">

**Author:** ![Wasay-Gumloop](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/wasay-gumloop/32/69_2.png) [@Wasay-Gumloop](https://forum.gumloop.com/u/Wasay-Gumloop)\
**Post date:** [May 15, 2025, 2:14am UTC](https://forum.gumloop.com/t/how-to-create-a-node-that-accepts-both-a-constant-and-a-list/2747/3 "2025-05-15T02:14:45Z")

</div>

Hey @davestein1 – You can use a `Duplicate` node here. The `List Size to Match` ie, the amount of times you want to duplicate the static input to match each loop iteration, would be any input from your spreadsheet (ie. Google Sheet Reader node) and the `Input` would be connected to the static HTML output.

 ![Screenshot 2025-05-15 at 7.13.05 AM](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/2X/6/636c1da309a65cdf572ddc08e80a2e34c2c14a6b.png)

Let me know if this is what you were looking for 🙂

---

<div class="post-metadata">

**Author:** ![davestein1](https://avatars.discourse-cdn.com/v4/letter/d/f1d935/32.png) [@davestein1](https://forum.gumloop.com/u/davestein1)\
**Post date:** [May 15, 2025, 6:10pm UTC](https://forum.gumloop.com/t/how-to-create-a-node-that-accepts-both-a-constant-and-a-list/2747/4 "2025-05-15T18:10:39Z")

</div>

Brilliant!  
Thank you, Wasay.  
I knew people had walked in my shoes already.  
I’ll try this during my lunch break today.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/1X/d02ff8efcde6ac5d3ac8aa0376137d5f804da549.png) [@system](https://forum.gumloop.com/u/system)\
**Post date:** [May 20, 2025, 6:10pm UTC](https://forum.gumloop.com/t/how-to-create-a-node-that-accepts-both-a-constant-and-a-list/2747/5 "2025-05-20T18:10:52Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
