This guide demonstrates how to use Smooth to capture leads from conference speaker directories. You’ll learn to extract speaker information from The AI Summit London website and format the output as structured data for your CRM or lead generation workflows.
1
Define Data Extraction Task
Structure your lead capture task with specific requirements for the data you want to extract.
Python
Copy
Ask AI
lead_capture_task = """Go to https://london.theaisummit.com/conference-agenda/speakers-2025 and extract information about all speakers. For each speaker, collect:- Full name- Speaker descriptionReturn the data in JSON format as an array of speaker objects."""
2
Execute Lead Capture
Run your lead capture task to extract all speaker information from the conference website.
The agent will navigate the speaker directory, extract information from each profile, and return structured JSON data.
3
Request Specific Output Format
For more control over the output structure, specify exactly how you want the data formatted.
Python
Copy
Ask AI
structured_extraction = """Go to https://london.theaisummit.com/conference-agenda/speakers-2025 and extract speaker information.Return the data in this exact JSON format:{ "total_speakers": <number>, "speakers": [ { "name": "Full Name", "title": "Job Title", "company": "Company Name", } ]}Ensure all fields are included even if empty (use None for missing data)."""task = smooth_client.run( task=structured_extraction, enable_recording=True)result = task.result()speakers_data = result.output# Parse and use the structured dataimport jsonspeaker_list = json.loads(speakers_data)print(f"Found {speaker_list['total_speakers']} speakers")for speaker in speaker_list['speakers']: print(f"- {speaker['name']} at {speaker['company']}")