Skip to content

AgentX tutorial

How to generate lead and send to Wix CRM

This guide explains how to enable lead generation in AgentX and connect it to your Wix Studio contact list. First, enable the "Lead Generation" action in AgentX. Then, obtain your Wix API Key, Account ID, and Site ID, and enter them into AgentX's settings. This will allow your agent to automatically send collected leads directly to your Wix CRM.

2 min read

This tutorial shows step by step how to enable the lead generation feature and connect it to your Wix, so that the leads go straight to your Wix Studio contact list.

WIX | AgentX

In the agent build process (see how to build tutorial), Lead Generationaction allows agent to collect information from the visitors and turn them into your quality leads seamlessly. You can go to Actions tab and enable "Lead Generation" option.

Connect to Wix CRM contact list

All generated leads will be sent to your email. You can also add the leads to your Wix CRM automatically by setting up Wix credentials.

1. Get your API key from Wix

Log in to your Wix account and navigate to - https://manage.wix.com/account/api-keys

Then click Generate API Key.

AgentX integration - Wix
AgentX integration - Wix

After that name the API key to agentx-integration, check All permissions(important), and then click Generate Key.

AgentX integration - Wix - step 2
AgentX integration - Wix - step 2

Copy the Token (aka API Key) somewhere to not lose it.

2. Get your Account ID

Now you can go back to https://manage.wix.com/account/api-keys to get your Account ID.

AgentX integration - Wix - step 3
AgentX integration - Wix - step 3

Copy the Account ID somewhere to not lose it.

3. Get your Site ID

Now navigate to your site.

AgentX integration - Wix - step 4
AgentX integration - Wix - step 4

After that get the Site ID from the url, see:

AgentX integration - Wix - step 5
AgentX integration - Wix - step 5

Copy the Site ID somewhere to not lose it.

4. Add all three credentials to AgentX

Next, go back to AgentX build Actions tab. Click Add an endpoint. Fill the following fields like:

  • Choose Wix tab
  • API Key: copy and paste the token(aka API Key) you got from the previous step here
  • Account ID: copy and paste the Account ID here
  • Site ID: copy and paste the Site ID here
AgentX integration - Wix - step 6
AgentX integration - Wix - step 6

Don't forget to save the changes.

🎉 Congrats, now your agent is able to generate leads and send to your Wix CRM directly.

More tutorials

All tutorials

Creating a Custom Tool in AgentX

Learn how to quickly create custom API-powered tools in AgentX using natural language and automatic code generation.

Read

Custom Branding for Agent Emails

You can now choose between AgentX branding, completely custom branding with your own logo and identity, or a clean unstyled option — all available for both Lead Generation emails and regular agent-sent messages. Configuration is now unified and easier to access, making it simple to keep every outgoing email consistent with your brand.

Read

How to add a MCP to your AI Agent

MCP (Model Context Protocol) allows you to connect your AI application to any desired third-party app as long as it supports it. Here is a step-by-step tutorial on how to set it up and connect with your AI agent. We will give an example on YouTube MCP.

Read

How to Automate Agent Tasks with AgentX

Discover how to automate your AgentX agents - from daily AI news briefings to fully autonomous SDR outreach - so your business runs on autopilot.

Read

How to Build AI Agent Workforce in AgentX

With AI Agent Workforces, you’re not limited to a single AI agent - you can build a whole team of specialists

Read

How to build an AI Agent - beginner's guide

Creating your first AI agent in AgentX, tuning prompts, instructions, and building knowledge bases. AgentX offers a no-code platform to create powerful AI agents for various use cases. Customize your agent’s bio, greeting, and response style, add knowledge bases, and enable optional features like lead generation or image generation. Once built, deploy your agent across multiple platforms, including websites, Slack, and Discord.

Read

Start your AI automation journey today

Sign up for AgentX and let AI handle your routine tasks. No credit card needed.