Extracting data from a web page in Zapier using JavaScript

In this case, my objective was to extract specific data from one of my blog posts, so I can use Zapier to automatically share the post for me on social media. I started by creating a Push trigger, that will allow me to manually start my script on an open web page using the Chrome extension for Zapier. From here, I added a new action of the “Code” type, and configured it to pass through the URL from the push trigger. »