If you want to publish moments created with GeoBooster on your Pinterest account, you need to set up an integration with Pabbly Connect.
First of all, go to pabbly.com and create an account (if you don’t have one). You can set up the integration with a free account, but you may need to switch to a paid account later because the number of runs on a free account is limited.
First of all go to “Pabbly Connect”, and click on the "Access now" button on the "All Apps" page.
Create a new workflow: click on the "Create Workflow" button, specify the name of the workflow, for example, "GeoBooster->Facebook" and click the "Create" button.
Type "Webhook" in the "Choose app" search input below "App event" and click on "Webhooks" in the search results list.
Copy the webhook URL, switch off the "Simple Response" toggle, and click the "Capture Response" button below the "Webhook URL" input.
Go to the GeoBooster web-application, open the business you are setting up the integration with, proceed to the "Settings" tab, paste the webhook URL you’ve copied in the previous step to the "Add Zapier webhook" field, and click the "Update" button.
Create at least two new moments in GeoBooster for your business and approve them for publishing.
Return to Pabbly and wait around 10 minutes, till the “Response received” checkbox appears.
Scroll down, click on the "Choose Your Next Application" block, type "Iterator" in the "Choose app" search input below "App event" and click on "Iterator" in the search results list.
Make sure the "Response" value is selected in the "Choose Array" dropdown and click the "Save & Send Test Request" button.
Scroll down, and click on the "Add Action Step" round button with a plus sign.
Type "Code" in the "Choose app" search input below the "App event" and click on the "Code" in the search results list.
Select the "Run JavaScript (Beta)" from the "Search & select" dropdown, then click on the "Connect" button.
Click in the "JavaScript Code" field, then paste there:
let data = (
Select from the "Select Data from Previous Step" dropdown step 2 "Iterator by Pabbly", then scroll down to the "Images" block and click on it.
Paste in the "JavaScript Code" field the code:
);
let i = 0;
let img = '';
let cover = '';
while (i < data.length)
{
img += data[i].full_url +','; i++;
}
if (img.length > 0)
{
img = img.substring(0, img.length - 1);
cover = data[0].full_url;
}
output = [cover, img];Click on the "Save & Send Test Request" button.
Scroll down, and click on the "Add Action Step" round button with a plus sign.
Type "Filter" in the "Choose app" search input below the "App event" and click on "Filter" in the search results list.
Click on the "Select Label" field, click "Code by Pabbly", then on the "Output 0" value. Select "Contains" in "Filter Type", and enter
https
in the "Value" field, and click "Save & Send Test Request".
Scroll down, and click on the "Add Action Step" round button with a plus sign.
Type "Pinterest" in the "Choose app" search input below "App event", and click on "Pinterest" in the search results list.
Click in the "Action Event" field and select "Create Pin" from the dropdown, then click the "Connect" button.
In the "Connect Pinterest Account" panel select "Add New Connection", and click "Connect With Pinterest".
A new browser window will open. You will need to sign in to your Pinterest account, then allow Pabbly access to your account.
You will return to Pabbly.
Click in the "Board" field and select the board from your Pinterest account you want to publish your moment to. Click in the "Image URL" field, in the "Select Data from Previous Step" dropdown click step 3 "Code by Pabbly", then on the "Output 0" value. Click in the "Title" field and compose the title of your pin, you can use values from step 2 "Iterator", make sure your title won't exceed 100 characters limit. You can also specify the "Description" of the pin and the "Image Link", we recommend using the link to your website. Once you are done, click the "Save & Send Test Request" button. Your moment will be sent to your Pinterest account.
Scroll up to the top of the page, click the "Dashboard" link, and make sure your workflow is "Active". Congratulations, your moments will be sent to your Pinterest.