i currently have a solution whereby I parse & format data from an email, and push it into my glideapp’s google sheet. i think this is affecting my apps speed as this table is growing daily and the tab related to it loads very slowly.
my understanding is that a glide table will give me better performance, but for some reason i am not able to from zapier push data to a new row in a glide table - do you have any best practice suggestion on how best to do this in realtime?
Not directly related to your query, but if you know exactly what you want to parse and the input is a bit all over the place as it is with emails, I think OpenAI’s text-davinci-003 can help you get it very reliably.
Me and @eltintero were pushing Make error emails to our Slack a while ago but the formatting isn’t great at all and contains a lot of unnecessary information. Parsing info from that using regex isn’t easy at all, but using a prompt with OpenAI API, it made life much easier for us.
Thanks again for the share - for some reason i am getting stuck after following all the necessary steps - i think it might be related to my field mapping but for some reason i cannot seem to spot it. any chance anyone could have a look for me:
And here is my table details:
“Name”: This is the Owner/CurrentUser field in GlideTable: Text
“Lead Status/Status”: Text field in glideTable
“Lead Status/Date Added”: date field in glideTable
“Lead Details/”: This is the Lead Details/Contact Person field in GlideTable:Text
“Lead Details/1a_propctrl imported mobile”: Phone number field in glideTable
“Lead Details/Email Address”:email field in glideTable
“Lead Details/Province”: Text field in glideTable
“Lead Details/Lead Source”: “Property 24”, Text field in glideTable
“Lead Details/Source Description”: “Contact Request”,Text field in glideTable
“Lead Details/Branch”: “Cornerstone Property Partners”, Text field in glideTable
“Lead Details/Page Url”: url field in glideTable
“Lead Details/Residential Listing”: Text field in glideTable
“Imported Listing Type”: Text field in glideTable
“Comments”: Text field in glideTable
“Area”:Text field in glideTable
If you’re getting a 400, then the most likely cause is malformed JSON.
Do any of your fields contain multi-line strings, double quotes or tabs?
Any of those would break it.
If that’s the case, you either need to escape them, or use a module that will construct the JSON payload for you. Make has a JSON module that does this, I’m not sure about Zapier.
i have one multi-line string where i extract comments from the email template - i use the extract pattern function in zapier formatter. but the comments field will only sometimes be multi-line dependening on the user input… i wonder how i would handle that…
If Zapier doesn’t have a native way of generating JSON, the other option would be to URLencode your comments field before sending it (presuming that Zapier can do that). Then you could decode that in Glide using the Decode Text Plugin.
Update: yeah, looks like Zapier can do URL encoding.
@Darren_Murphy , in hindsight… 90% worked with a few odd exceptions - after reading about the encoding/decoding that is the more failproof solution in my opinion - i have implemented and happy with the outcome.