Rather simple - most DBs allow an UPSERT or REPLACE command.
It is insert if not found or update if found.
It is rather bothersome that Zapier has not added such a simple action and instead advices using a search and path type of workflow. Why in the world would one want to use 3-4 tasks to do what a single SQL statement can do in ANY modern DBMS?
I assume it is because allowing an UPSERT (REPLACE INTO) uses only 1 tasks and SELECT (search) → PATH → INSERT or UPDATE takes 3 tasks instead of 1.
REPLACE INTO please!!!!
Or at least allow us to write a custom Query. The Custom Search query will not work because an update or insert does not “return” a row and therefore generates an error.
This is bare bone basic SQL - come on Zapier - at least provide basic SQL functionality.
Question
Custom MySQL insert alternative (replace into)
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.





