$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "pipedriveCompanyDomain": "yourcompany",
< "leads": [
< {
< "domain": "growthagency.io",
< "companyName": "Growth Agency",
< "city": "Austin",
< "state": "TX",
< "country": "United States",
< "industry": "Marketing & Advertising",
< "emails": [
< "hello@growthagency.io"
< ],
< "contacts": [
< {
< "name": "Sarah Chen",
< "title": "Founder",
< "email": "sarah@growthagency.io",
< "phone": "+1-512-555-0192"
< }
< ],
< "icpScore": 82,
< "icpGrade": "A"
< }
< ],
< "dealTitle": "New Lead: {{companyName}} (Score: {{icpScore}})",
< "dryRun": true
<}
<EOF
$curl "https://api.apify.com/v2/acts/ryanclinton~pipedrive-lead-pusher/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'