zapier

Is there a simpler way to extract/parse nested object values that is not fixed?

隐身守侯 提交于 2020-06-18 02:37:33
问题 I am trying to parse a specific nested object (Sign_UP_Appointment) from the results of a webhook using code by Zapier Webhook Results { "entity":{ "OPPORTUNITY_ID":24096201, "OPPORTUNITY_NAME":"Scott Williams ", "OPPORTUNITY_STATE":"OPEN", "RESPONSIBLE_USER_ID":1737942, "OWNER_USER_ID":1737942, "DATE_CREATED_UTC":"2019-04-15T17:02:11.567", "DATE_UPDATED_UTC":"2019-04-15T17:02:40.437", "VISIBLE_TO":"OWNER", "CUSTOMFIELDS":[ { "CUSTOM_FIELD_ID":"Administration_Type__c", "FIELD_VALUE":"Summary

Zapier CLI Dynamic Dropdown, how to set multiple values to bundle.inputData

隐身守侯 提交于 2020-01-25 07:58:08
问题 Currently building a Zapier app but running into a blocker when trying to pass information from a dynamic dropdown. Ideally, I want to be able to set an object of data to bundle.inputData whenever someone selects an item. Thedocs only provide a single value solution, but wondering if anybody knows of a solution to this? Example of the problem: //User Data [ {id:1, name: Tommy, email: tom@gmail.com}, {id:2, name: Bill, email: bill@gmail.com}, {id:3, name: Greg, email: greg@gmail.com} ] //Input

POSTing cURL to Zapier Webhook

梦想与她 提交于 2020-01-24 10:24:05
问题 I'm trying to POST using cURL to a Zapier webhook. Zapier is configured so that if I were to type their URL like so -- https://zapier.com/hooks/catch/n/abcd?email=foo@bar.com&guid=foobar It will receive the post, but when I try to do the same thing with cURL, it does not seem to receive it. Here's my code for posting with cURL --> <?php // Initialize curl $curl = curl_init(); // Configure curl options $opts = array( CURLOPT_URL => 'https://zapier.com/hooks/catch/n/abcd', CURLOPT

How to correctly return a list of dictionaries in Zapier Code (Python)?

╄→尐↘猪︶ㄣ 提交于 2020-01-15 05:35:26
问题 The Zapier code documentation says that the output of a code zap can be either a dictionary or a list of dictionaries (See "Data Variable" section: https://zapier.com/help/code-python/). When doing this, output = [{'Booking':'Shirt'},{'Booking':'Jeans'}] the output of the code returns only the first dictionary, however: runtime_meta__duration_ms: 2 runtime_meta__memory_used_mb: 22 id: [redacted] Booking: Shirt Fields with no value: runtime_meta__logs What am I doing wrong here? Thanks a lot!

Successful Ajax post displays error message

荒凉一梦 提交于 2020-01-06 14:07:50
问题 My form properly submits data via POST utilizing Ajax. However I am trying to redirect the user upon successful submission. The problem is, even though the form successfully submits, instead of redirecting the user it displays an error. According to firebug the page I am submitting to, is throwing up a 200 success code. I am using jquery 1.8.3. My Code: $(document).ready(function() { $("#form4").submit(function(e) { e.preventDefault(); var frm = $('#form4'); $.ajax({ type: 'POST', url: 'http:

How can I get Zapier MySQL “update row” to update a value in a row with a Null value?

故事扮演 提交于 2020-01-02 08:14:10
问题 I have created a Zapier Zap to populate data from a SmartSheet to a MySQL database. I have it branching so if the row does not already exist in MySQL a new row is created. This part works fine. In my second branch, if the row already exists then the data in the row is updated with new data from the SmartSheet row. When existing data is replaced with new data the Zap works fine. E.g. for an example existing MySQL row: +--------+---------------+--------------------+ | row_id | email_comment |

MySQL: SELECT after INSERT IGNORE

拜拜、爱过 提交于 2019-12-25 14:45:08
问题 I have a simple table, containing memberIds for each Email. CREATE TABLE `cu_members` ( `memberID` int(6) unsigned zerofill NOT NULL AUTO_INCREMENT, `email` varchar(255) DEFAULT NULL, PRIMARY KEY (`memberID`), UNIQUE KEY `email` (`email`) ) The table allows a new memberId to be created for each new email address. I'm doing this using: INSERT IGNORE INTO `cu_members` (email) VALUES ("newemail@domain.com") I can also do this using: INSERT INTO `cu_members` (email) VALUES ("newemail@domain.com")

Zapier: from spreadsheet to Facebook Offline events tracking

白昼怎懂夜的黑 提交于 2019-12-25 02:22:34
问题 I've got a database containing offline conversions (email, phone, name, purchase_amount, etc). I can export this database in .csv or .xls and I can also email this file on a daily basis to a Gmail account. As Zapier has a Google Sheet to "Facebook offline event" API, I tried this workflow with Zapier.com: Export my database in .xls: OK Mail it to my Gmail account as an email attachment: OK Grab the attachment and upload file to Google Drive using Zapier: OK This is the part where I'm in