# Variable keyword in search box with macro

**URL:** <https://forums.distill.io/t/variable-keyword-in-search-box-with-macro/3607>\
**Category:** Uncategorized\
**Tags:** macros\
**Created:** [June 14, 2024, 2:47pm UTC](https://forums.distill.io/t/variable-keyword-in-search-box-with-macro/3607 "2024-06-14T14:47:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![melanievine](https://forums.distill.io/letter_avatar_proxy/v4/letter/m/e68b1a/32.png) [@melanievine](https://forums.distill.io/u/melanievine)\
**Post date:** [June 14, 2024, 2:47pm UTC](https://forums.distill.io/t/variable-keyword-in-search-box-with-macro/3607/1 "2024-06-14T14:47:00Z")

</div>

I’ve created a simple macro that goes to the search box of a product website, enters a keyword, and presses search. This works well, but there are multiple keywords I want to search for using separate monitors. Do I have to create a different macro for each keyword or is there a way to create a variable name within the macro and then specify the keyword variable in the monitor? This seems like a common search process, but I can’t find an answer anywhere.

---

<div class="post-metadata">

**Author:** ![ajitk](https://forums.distill.io/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@ajitk](https://forums.distill.io/u/ajitk)\
**Post date:** [June 17, 2024, 7:50am UTC](https://forums.distill.io/t/variable-keyword-in-search-box-with-macro/3607/2 "2024-06-17T07:50:13Z")

</div>

@melanievine it is currently not possible to create and use variables in a macro right now. one needs to create multiple macros with different values hardcoded in it.

parameterizing macros is currently a work in progress. we will be able to parametrize a macro and use them with different inputs when monitoring pages and taking actions.

---

<div class="post-metadata">

**Author:** ![snickerynuts](https://forums.distill.io/letter_avatar_proxy/v4/letter/s/e480ec/32.png) [@snickerynuts](https://forums.distill.io/u/snickerynuts)\
**Post date:** [July 24, 2024, 9:10pm UTC](https://forums.distill.io/t/variable-keyword-in-search-box-with-macro/3607/3 "2024-07-24T21:10:46Z")

</div>

Thanks for your answer @ajitk! Can you provide any timeline for this feature to be available? I have a similar use case.  
It would be perfect to enable running a monitor with a set of parameters (similar to profiles/eventually to be stored on a profile) and use them in the action macros after monitor is changed (or marcos before execution).

---

<div class="post-metadata">

**Author:** ![ajitk](https://forums.distill.io/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@ajitk](https://forums.distill.io/u/ajitk)\
**Post date:** [July 24, 2024, 11:32pm UTC](https://forums.distill.io/t/variable-keyword-in-search-box-with-macro/3607/4 "2024-07-24T23:32:28Z")

</div>

it will be available in q3 this year. cheers!
