Building a Sales Contact Aggregator with GibsonAI and Crew AI
In this example, we'll create a sales contact aggregator agent using GibsonAI for database management and Crew AI for multi-agent workflows. This solution automatically finds and stores sales contacts, saving you valuable prospecting time.
Step 1: Create the Database with GibsonAI
In GibsonAI, define your database schema by specifying the required tables:
Sales Contact table with fields: Company ID, name, title, LinkedIn URL, phone, email
Sales Company table
Review the generated SQL code to confirm it matches your requirements.
Deploy the database to make it available via API.
Copy your API key from the Settings section for later use.
Step 2: Set Up the Crew AI Agent
Import the Crew AI library in your Python environment.
Create two key components:
Contact Finder: A Crew AI agent that searches for contacts
Contact Poster: A tool that posts data to your GibsonAI database
Define search parameters in your tasks file (e.g., target company "Workday").
Configure the agent with your API keys and specific instructions.
Step 3: Run the Automated Workflow
Execute your Python script to initiate the agent.
The agent will:
Follow your instructions to find relevant contacts
Search public data sources including LinkedIn
Structure the gathered data according to your database schema
Automatically post the data to your GibsonAI database
Verify results by checking your database (e.g., via Postman) to confirm the contacts were successfully added.
This integration demonstrates how agentic workflows with Crew AI can automate sales prospecting tasks while using GibsonAI as a robust backend database solution.