Sign in

Ingest lead via Email (ADF/XML Email)

documented

Submit lead data by email to Calldrip; Calldrip converts to a call.

Leadsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.sendgrid.com/v3/mail/send" \
  -X POST \
  -H "Authorization: Bearer {{CALLDRIP_API_KEY}}" \
  -H "Content-Type: application/json" \
  -d '{"personalizations":[{"to":[{"email":"{{$api_username}}@dealer.calldrip.com"}],"subject":"Calldrip ADF/XML Lead"}],"from":{"email":"{{$from_email}}"},"content":[{"type":"text/xml","value":"<adf>\n  <prospect>\n    <requestdate>{{$requestdate}}</requestdate>\n    <service>{{$provider_service}}</service>\n    <vehicle>\n      <year>{{$vehicle_year}}</year>\n      <make>{{$vehicle_make}}</make>\n      <model>{{$vehicle_model}}</model>\n      <vin>{{$vehicle_vin}}</vin>\n    </vehicle>\n    <customer>\n      <contact>\n        <name part=\"first\">{{$first_name}}</name>\n        <name part=\"last\">{{$last_name}}</name>\n        <email>{{$email}}</email>\n        <phone type=\"voice\">{{$phone}}</phone>\n        <zip_code>{{$zip_code}}</zip_code>\n      </contact>\n      <comments>{{$comments}}</comments>\n    </customer>\n  </prospect>\n</adf>"}]}']}