What are Variables in Jsonify?
In Jsonify, a variable is essentially a named placeholder for a piece of data that can change. When the workflow runs, the placeholder is replaced with its actual value for that specific run or iteration. Variable names are case-sensitive.Why Use Variables?
- Reusability: Build a generic workflow and use variables to adapt it to different specific inputs without duplicating the entire workflow.
- Dynamic Operations:
- Open different URLs based on a list.
- Perform searches with varying keywords.
- Instruct data extraction based on changing criteria.
- Personalize interactions (e.g., typing a specific username).
- Data Input: Easily feed lists of data (e.g., from a CSV, or typed in) into your workflow using the
Open datasetsblock. - Data Chaining: Use data extracted by one
Extract Datablock as a variable input for subsequent blocks within the same processing loop (e.g., for each item in a list).
Defining Variables: The Open datasets Block
The primary way to introduce a list of varying inputs into your workflow is through the Open datasets block.
- Columns as Variable Names: Each column header you define in the
Open datasetstable becomes a variable name (e.g.,company_name,product_url,search_keyword). Remember, these names are case-sensitive. - Rows as Value Sets: Each row in the table represents a distinct set of values for these variables. The workflow (or the part of it following
Open datasets) will run once for each row. - Special Column Name
URL: If you name a column exactlyURL(case-sensitive) in theOpen datasetsblock and provide valid, complete URLs (starting withhttp://orhttps://) in its rows, the AI Agent will automatically open each of these URLs. In this specific case, a subsequentOpen Websitesblock is not required to open these particular URLs. For any other column name intended to hold URLs that you want to open via theOpen Websitesblock, ensure the values are complete URLs.
Open datasets block for configuration specifics.
Using Variables in Other Blocks
Once defined (e.g., inOpen datasets), you can use these variables in most other blocks that accept text input for their configuration.
- Syntax: Variables are referenced using double curly braces:
{{variable_name}}.- Make sure the
variable_nameinside the braces exactly matches the column header fromOpen datasets(including case).
- Make sure the
- Common Use Cases:
Open Websites:- URL:
https://{{website_domain}}/products(assumingwebsite_domainprovides just the domain likeexample.com)
- URL:
Search on Google:- Query:
reviews for {{product_name}}
- Query:
Interact with Page:- Action:
type {{user_comment}} into 'comment_field' - Action:
click button 'Download {{report_filename}}'
- Action:
Extract Data(in Descriptions or Additional Instructions):- Description for a field:
Extract the price for the item named {{item_name}}. - Additional Instruction:
Only extract reviews that mention the brand {{brand_to_filter_by}}.
- Description for a field:
Find Links:- Description:
Find the link to the contact page for {{company_name}}
- Description:
Variables from Extract Data Output
When you use an Extract Data block, the NAME you give to each attribute (e.g., product_title, reviewer_name) can act as a variable for subsequent blocks within that same iteration or loop. These are also case-sensitive.
- Example:
Open Websites(opens a category page)Find Links(finds links to all product pages, e.g., outputsproduct_page_url)Follow Links(configured to “Follow each link”product_page_url)- Now, for each product page visited:
Extract Data(extractsproduct_nameandpricefrom the current product page)Search on Google(can use{{product_name}}from the previous step:Search for 'competitors of {{product_name}}')
Tips for Naming Variables
- Descriptive: Choose names that clearly indicate what the variable represents (e.g.,
customer_emailinstead ofeml). - Consistent: Use a consistent naming convention (e.g.,
snake_caselikeproduct_id, orcamelCaselikeproductId). Remember case sensitivity. - Avoid Spaces and Special Characters (other than underscore): Stick to letters, numbers, and underscores for maximum compatibility and clarity.
Scope of Variables
Open datasetsScope: Variables defined inOpen datasetsare available to all subsequent blocks for each iteration (row) defined in theOpen datasetsblock.Extract DataScope: Variables created fromExtract Datafield names are scoped to the current item being processed in a list or the current page for that specific iteration.

