Giter Site home page Giter Site logo

aisdr's Introduction

AI SDR

Researches partial contacts in a Google Sheet and returns nicely formatted results

Motivation

We got a ton of new platform users at Camcorder AI and it's felt like a huge miss that we know little about them other than their email. Let's try to learn what's publicly known about them.

How it works

1. Copy example Google Sheet

Go here https://docs.google.com/spreadsheets/d/1wnsMl9OC5aNgq32-ooJmbRcJj1qRdqAGYybpDvBTKXU/edit?usp=sharing and click File, "Make a Copy" and then button "Make a Copy".

2. Paste in your data

Paste in your partial contacts. Add as much info on them as you know to disambiguate common names.

The input column combines all this info together. The formula is like this: =CONCATENATE(A2," ",B2, " ",D2)

3. Get your API keys

Grab API keys for:

Create a Google Programmable Search Engine. It takes 30 sec. Go here: https://programmablesearchengine.google.com/controlpanel/create. Type in Google for the engine name, and select "Search the entire web" option. On the next page it will show you the cx id. Write that down.

4. Add your keys

In Google Sheets, click on Extensions menu, and Apps Script. In the script you see, add your API keys and cx id at the top.

Click "Run" and approve the permissions. Now, close Apps Script.

5. Run it

Now select some input cells and click on Extensions menu, Macros, and SearchContacts.

Wait for the script to run, then the new data will populate to the right of your selected input cells.

Cost & speed

It costs $0.02 per contact. And runs at 10 contacts/min.

Manual install (completely optional)

If you don't want to use the example Google Sheet, here's how to install AI SDR manually. Modify step 4:

In Google Sheets, click on Extensions menu, and Apps Script. Paste in this script: https://github.com/philtsip/aisdr/blob/main/index.js And add your API keys and cx id at the top. Click Save.

Click "Run" and approve the permissions. Now, close Apps Script.

In Google Sheets, click on Extensions menu, Macros, and Import Macro. Select SearchContacts.

Now go to step 5.

That's all.

aisdr's People

Contributors

philtsip avatar

Stargazers

 avatar KenWang avatar Kedar Deshpande avatar Jeremy Pinnix avatar Yin Yee Lai avatar  avatar Josh avatar  avatar  avatar Magomedov avatar  avatar  avatar Charlie Robbins avatar  avatar  avatar  avatar sarfrazkhan avatar  avatar  avatar Charley Forey avatar Jay Scambler avatar Ayush Somani avatar  avatar Jan Jezek avatar Sanjeed avatar Farhan Ali Raza avatar Ahmad Awais โŒ˜ avatar  avatar Alessandro avatar A$ avatar Chad Boyda avatar  avatar Nishit Gupta avatar Abdulhakim Bashir avatar Wes Winham avatar

Watchers

 avatar  avatar

aisdr's Issues

Error at step 4

I've followed the README.
At step 4 when I Run it gives me this notice in the execution log:

Notice Execution started
Error TypeError: Cannot read properties of undefined (reading 'toLowerCase')
cleanContact @  Code.gs:44

which is this block:

function cleanContact(str) {
  if (
    str.toLowerCase().includes("not provided") ||
    str.toLowerCase().includes("not available") ||
    str.toLowerCase().includes("not applicable")
  ) {
    return "";
  }

I also tried adding the code manually. When clicking Run i got this error in the execution log:

Error Attempted to execute cleanContact, but it was deleted.

What am I missing?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.