Embed your Release0 agent in Webflow projects and trigger commands on button clicks. This guide provides step-by-step instructions to add your agent to Webflow pages, including advanced features like triggering commands on button clicks.
To embed your agent in Webflow, follow these steps:
You can trigger an agent command (like opening a popup) when a button is clicked. Here’s how:
Assign a unique ID to your button:
Update your embed code:
<script>
tag of your agent Embed element, insert the following code:For multiple buttons, repeat the process:
Note: Replace
BUTTON_ID_1
andBUTTON_ID_2
with the actual IDs assigned to your buttons.
In this example, clicking the specified buttons will open the agent popup. However, you can replace Agent.open()
with any other command supported by the Java library commands.
Before deploying, ensure:
Embed your Release0 agent in Webflow projects and trigger commands on button clicks. This guide provides step-by-step instructions to add your agent to Webflow pages, including advanced features like triggering commands on button clicks.
To embed your agent in Webflow, follow these steps:
You can trigger an agent command (like opening a popup) when a button is clicked. Here’s how:
Assign a unique ID to your button:
Update your embed code:
<script>
tag of your agent Embed element, insert the following code:For multiple buttons, repeat the process:
Note: Replace
BUTTON_ID_1
andBUTTON_ID_2
with the actual IDs assigned to your buttons.
In this example, clicking the specified buttons will open the agent popup. However, you can replace Agent.open()
with any other command supported by the Java library commands.
Before deploying, ensure: