I have an leads generation/Business development application ive developed which includes a component of contact prospecting. The functionality essentially recognises when a company’s profile screen is selected and at that moment, it searches for LinkedIn profiles on google search (using a custom google search engine API), modifies the URL title to obtain the persons name, job title and company name, and then uses some logic to generate and validate an email address for them, based on a series of permutations of their name and the companys email domain.
The problem im having is that:
The logic is too complicated (for me anyway) to accomplish in glide alone
By executing the logic outside glide, i then have to wait for the glide API to add in each prospect one by one, which is excrutiatingly slow when a series of say 20-30 prospects are identified for a company
Can anyone suggest or identify an alternative method that i can implement this. Ive tried so many things, but ultimately keep finding the rate limiting step is the glide APIs speed capability when adding multiple rows. (NB: it may be the rate at which im sending requests to the glide API but I didnt believe this was the case as I have tried alternatives which appeared much quicker).
At the moment im adding them one by one because for some reason I was under the impression that separate rows needed to be added this way using the Glide API. Can you add multiple separate rows via a single API call? Im not sure i know how to do this, if it is possible.
Yes, you can. You can add as many as 500 in a single call. You can even mix adds/edits/deletes in the same API call.
Each API call should contain an array of mutations. Sounds like you are sending an array of one. A call to add two rows would look something like the following:
More or less, yes.
But assuming that your JSON module is currently creating the entire data payload, you would need to adjust that so that it only creates the mutations. Then you’d need a second JSON module after the aggregator that wraps the mutations up with the AppID.