Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Chatbots
  • Create chatbots

Use URL parameters with directives and greetings

Written by Owner

Updated at August 20th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Tables
    Work with tables Manage tables Create tables Troubleshoot Zapier Tables
  • Product updates
    Product updates: January 2023 Product updates: March 2023 Product updates: February 2023 Product updates: April 2023 Product updates: May 2023 Product updates: June 2023 Product updates: July 2023 Product updates: August 2023 Product updates: September 2023 Product updates: October 2023 Product updates: November 2023 Product updates: December 2023 Product updates: January 2024 Product updates: February 2024 Product updates: March 2024 Product updates: April 2024 Product updates: May 2024 Product updates: June 2024 Product updates: July 2024 Product updates: August 2024 Product updates: September 2024 Product updates: October 2024 Product updates: November 2024 Product updates: December 2024 Product updates: January 2025 Product updates: February 2025 Product updates: March 2025 Product updates: April 2025 Product updates: May 2025 Product updates: June 2025 Product updates: July 2025 Product updates: August 2025
  • Zaps
    Zap basics Zap history Troubleshoot Zaps Manage your Zaps Do more with Zaps
  • Your Zapier account
    Plans Billing Account profile Notifications Data privacy & security Get help User roles and permissions
  • Interfaces
    Troubleshoot Zapier Interfaces Create an interface Use interface components Manage interfaces
  • Canvas
    Create a canvas Collaborate on a canvas
  • Chatbots
    Add logic and knowledge to chatbots Troubleshoot chatbots Create chatbots Manage chatbots
  • Getting started
    Intro to Zapier Set up your Zapier account Use case templates
  • Agents
    Create agents Manage agents Troubleshoot agents
  • MCP
    Set up MCP
  • Built-in tools
    Filter & Paths Formatter Schedule & Delay Email, IMAP, SMTP, & Email Parser Webhooks & Code Storage, Digest, & RSS Sub-Zap & Looping Other built-in tools Custom Actions & API Requests Functions AI by Zapier & AI actions Copilot Human in the Loop
  • Lead Router
    Create routers
  • Apps
    Connect and manage your app connections AI apps on Zapier Apps on Zapier
+ More

Table of Contents

Build the URL Create a code snippet Provide feedback and get help
miscBoltAlt icon Beta

Zapier Chatbots is a beta product. It’s available for use, but still in active development and may change.

With a standalone chatbot, you can use URL parameters to pass information automatically to the chatbot. This information can be used in the greeting or the directive. 

URL parameters consist of two parts: 

  • Parameters you must insert in the chatbot public URL.
  • A code snippet you must add to the greeting or directive.

 

Build the URL

You can find the chatbot's URL at the top right corner of the chatbot screen. To build a URL with predefined URL parameters, you can use the following formula:

<url of your Chatbots page>?<first parameter>=<value to prepopulate>&<second parameter>=<value to prepopulate>

The first parameter needs to be connected to the URL by a ?, with its value connected by a =, and each subsequent parameter needs to be connected by an & and its value connected by a =.

 

Create a code snippet

Once the parameters are organized in your URL, you can add a code snippet to incorporate that information into the chatbot greeting or directive. This will allow the chatbot to retrieve that data during the conversation.

  1. From the Chatbots home, click the name of the chatbot.
  2. In the Instructions tab, enter the following code snippet into the Directive or Greeting text field:  {{params.parameter|default:"default wording"}}.
  3. Edit the code snippet with the specific details of your URL parameters:
    • parameter: this is the name of the parameter you added to the URL.
    • default wording: replace it with a default text. The default text will be used instead if the field has no value. Keep the double quotation marks around the default wording.
  4. Click Save changes.

Screen Shot 2025-03-12 at 11.37.47 AM.png

 

You can then share the URL you created with the parameters and when someone visits it, it will incorporate that information within the directive or the greeting.

Provide feedback and get help

Submit a feature request, provide feedback on existing features, or get help from the Zapier Chatbots team.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Share and embed a chatbot
  • Use your own API key with a Zapier Chatbot
  • Create a directive and greeting for your chatbot
  • Set up a chatbot
  • Customize the creativity level of your chatbot

Copyright 2025 – OBZ-Zapier.

Knowledge Base Software powered by Helpjuice

Expand