Variables, macros, and automatic captures
They keep a snippet from being dead text and turn it into a template that adapts to context and asks for data when needed.
NexoPad can replace internal variables, read data from the page, ask you for information at insertion time, and save automatic captures by domain.
This system is especially useful for sales, support, follow-up, and repetitive replies that change depending on the customer, site, or task.
Available variables and syntax
| Type | Syntax | What it inserts |
|---|---|---|
| Current date | {{fecha}}, {{dia}}, {{mes}}, {{año}} | Current date or parts of the current date. |
| Current time | {{hora}} | The time at the moment of insertion. |
| Current page | {{url}}, {{dominio}}, {{titulo}} | URL, domain, or title of the active tab. |
| Name | {{nombre}}, {{nombre_completo}} | Short name or full name when the site provides it. |
| Random | {{random:Option A|Option B|Option C}} | Chooses one alternative at insertion time. |
| Relative date | {{fecha:+7_dias}}, {{fecha:+1_meses}}, {{fecha:+1_años}} | Calculates a future relative date. |
| Manual input | {{input:Client name}} | Opens a box so you can type the value before insertion. |
| Dropdown | {{dropdown:Priority|High|Medium|Low}} | Lets you choose an option before generating the text. |
Variables detected from the current page
The extension includes known extractors for contexts such as Gmail, WhatsApp Web, Intercom, and several LinkedIn views, including profile, company, and Sales Navigator. In those cases it can detect fields such as nombre_completo, cargo, empresa, email_remitente, or asunto when the page exposes them.
If a website does not have a specific extractor, NexoPad attempts a generic read using page metadata, Schema.org, and Open Graph tags. That helps fill part of the context even outside dedicated integrations.
On the Free plan, known contextual detection is more limited. Gmail is the clearest available reference, and other advanced extractions may require Pro or Teams.
Personal macros and company variables
- You can save your own macros and use them as
{{mi_macro}}inside snippets or reusable notes. - Company variables are stored in the team settings and inserted with a single brace syntax, for example
{company_name}. - Interactive variables such as
{{input:...}}and{{dropdown:...}}open a modal before insertion, so you do not need to edit the snippet every time. - Nothing stops you from combining variables, variants, and automatic captures inside the same snippet.
How to configure Automatic Captures
Open the Automatic Captures block from the popup
This feature lives inside the main popup. There you can see the saved captures for the current domain and create new ones.
Define the variable name
That name will be the token you can later reuse inside snippets and other templates.
Choose the cleanup filter
The current filters are raw, first_name, numbers, uppercase, lowercase, and capitalize.
Enable the visual inspector and click the element
The extension saves the selector for that domain and reuses it when you return to the same site.
Reload the page if needed and test the variable
If the site changes structure a lot or loads late, a reload helps the selector be found correctly again.
- On Free you can save up to
3automatic captures. - Captures depend on the real structure of the site; if the website changes, you may need to select it again.