Pinterest - how to make sure the right copy goes to the right pin

Hi,

I have this automation for Pinterest pins, and it works, but only if all the same images and copies are being used. What do I need to add or change so that I can post different images together and the automation knows which image belongs to which copy?

*Credits to @Lunchbox for this automation

Hey Laura,

what do you mean images belonging to copies?

Could you please explain your flow in a bit more detail?

Welcome to the Make community!

You have not yet provided sufficient information to demonstrate the problem that would allow us to reproduce the scenario and any error(s).

To allow others to assist you with your scenario, please provide the following:

1. Relevant Screenshots

Could you please share screenshots of your full scenario? Also include screenshots of any error messages, module settings (fields), relevant filter settings (conditions), and module output bundles. We need to see what you’re working with to give you the best advice.

You can upload images here using the Upload icon in the text editor:

2. Scenario Blueprint

Please export the scenario blueprint. Providing your scenario blueprint file will allow others to quickly recreate and see how you have set up the mappings in each module, and also allows us take screenshots or provide module exports of any solutions we have for you in return - this would greatly benefit you in implementing our suggestions as you can simply paste module exports back into your scenario editor!

To export your scenario blueprint, click the three dots at the bottom of the editor then choose ‘Export Blueprint’.

You can upload the file here by clicking on this button:

3. Output Bundles of Modules

Please provide the output bundles of each of the relevant modules by running the scenario (you can also get this without re-running your scenario from the History tab).

Click on the white speech bubbles on the top-right of each module and select “Download input/output bundles”.

A. Upload as a Text File

Save each bundle contents in a plain text editor (without formatting) as a bundle.txt file.

You can upload the file here by clicking on this button:

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario, especially if there are complex data structures (nested arrays and collections) or if external services are involved.

Sharing these details will make it easier for others to assist you.

Hi!

Here is my scenario file.
blueprint (4).json (28.5 KB)

So in this scenario, on Google Drive I put the images I would like to share on Pinterest and on Google sheets I add the title, description, website URL information that needs to go on Pinterest with the images that are on Google Drive. Now, this scenario works if all images are the same. But I would like be able to add various different images on Google drive to post on Pinterest.

So the issue is, what do I need to change in my scenario so that image A goes to Pinterest with Text A. And Image B goes to Pinterest with text B.

Right now the flow:

  1. Images are put on Google drive

  2. Iterator will pull more than one image to Pinterest when I bulk upload

  3. Google Drive gets the specific link ID of the file

  4. Tools to format the image to Pinterest

  5. Google sheets are the titles descriptions and URL link we want shown on Pinterest

  6. Shared to Pinterest as a result

[
    {
        "kind": "drive#file",
        "copyRequiresWriterPermission": false,
        "writersCanShare": true,
        "viewedByMe": true,
        "mimeType": "application/vnd.google-apps.spreadsheet",
        "exportLinks": {
            "application/x-vnd.oasis.opendocument.spreadsheet": "https://docs.google.com/spreadsheets/export?id=1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8&exportFormat=ods",
            "text/tab-separated-values": "https://docs.google.com/spreadsheets/export?id=1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8&exportFormat=tsv",
            "application/pdf": "https://docs.google.com/spreadsheets/export?id=1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8&exportFormat=pdf",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "https://docs.google.com/spreadsheets/export?id=1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8&exportFormat=xlsx",
            "text/csv": "https://docs.google.com/spreadsheets/export?id=1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8&exportFormat=csv",
            "application/zip": "https://docs.google.com/spreadsheets/export?id=1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8&exportFormat=zip",
            "application/vnd.oasis.opendocument.spreadsheet": "https://docs.google.com/spreadsheets/export?id=1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8&exportFormat=ods"
        },
        "parents": [
            "1s0qocUi7-J2wQe6QQ1UxcWlp038GGEZb"
        ],
        "thumbnailLink": "https://lh3.googleusercontent.com/drive-storage/AJQWtBO9mZ73vljWgGABwEYscCD5fRT2CjeLuDzuHMPF4oyhDD-GrmEW4dqrtbOY-QrNhHaH5CNAd2TWuQmmVEbcCAsFKWbnzkNLXfVuBJLoT7LXae0MXNJb1kvIRakUCg=s220",
        "iconLink": "https://drive-thirdparty.googleusercontent.com/16/type/application/vnd.google-apps.spreadsheet",
        "shared": true,
        "lastModifyingUser": {
            "displayName": "Laura Bernazano",
            "kind": "drive#user",
            "me": true,
            "permissionId": "15460926789956708137",
            "emailAddress": "laura@fluo.be",
            "photoLink": "https://lh3.googleusercontent.com/a/ACg8ocKFdfRM4WaWcceTGNHKsi8H7f_GF9HmtaggWMpdLYQa3cdcIA=s64"
        },
        "owners": [
            {
                "displayName": "Laura Bernazano",
                "kind": "drive#user",
                "me": true,
                "permissionId": "15460926789956708137",
                "emailAddress": "laura@fluo.be",
                "photoLink": "https://lh3.googleusercontent.com/a/ACg8ocKFdfRM4WaWcceTGNHKsi8H7f_GF9HmtaggWMpdLYQa3cdcIA=s64"
            }
        ],
        "webViewLink": "https://docs.google.com/spreadsheets/d/1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8/edit?usp=drivesdk",
        "size": "1024",
        "viewersCanCopyContent": true,
        "permissions": [
            {
                "id": "anyoneWithLink",
                "type": "anyone",
                "kind": "drive#permission",
                "role": "reader",
                "allowFileDiscovery": false
            },
            {
                "id": "15460926789956708137",
                "displayName": "Laura Bernazano",
                "type": "user",
                "kind": "drive#permission",
                "photoLink": "https://lh3.googleusercontent.com/a/ACg8ocKFdfRM4WaWcceTGNHKsi8H7f_GF9HmtaggWMpdLYQa3cdcIA=s64",
                "emailAddress": "laura@fluo.be",
                "role": "owner",
                "deleted": false,
                "pendingOwner": false
            }
        ],
        "hasThumbnail": true,
        "spaces": [
            "drive"
        ],
        "id": "1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8",
        "name": "Pinterest test",
        "starred": false,
        "trashed": false,
        "explicitlyTrashed": false,
        "createdTime": "2025-03-13T15:22:49.168Z",
        "modifiedTime": "2025-03-14T06:53:57.168Z",
        "modifiedByMeTime": "2025-03-14T06:53:57.168Z",
        "viewedByMeTime": "2025-03-14T06:53:57.168Z",
        "quotaBytesUsed": "1024",
        "version": "15",
        "ownedByMe": true,
        "isAppAuthorized": false,
        "capabilities": {
            "canChangeViewersCanCopyContent": true,
            "canEdit": true,
            "canCopy": true,
            "canComment": true,
            "canAddChildren": false,
            "canDelete": true,
            "canDownload": true,
            "canListChildren": false,
            "canRemoveChildren": false,
            "canRename": true,
            "canTrash": true,
            "canReadRevisions": true,
            "canChangeCopyRequiresWriterPermission": true,
            "canMoveItemIntoTeamDrive": true,
            "canUntrash": true,
            "canModifyContent": true,
            "canMoveItemOutOfDrive": true,
            "canAddMyDriveParent": false,
            "canRemoveMyDriveParent": true,
            "canMoveItemWithinDrive": true,
            "canShare": true,
            "canMoveChildrenWithinDrive": false,
            "canModifyContentRestriction": true,
            "canChangeSecurityUpdateEnabled": false,
            "canAcceptOwnership": false,
            "canReadLabels": false,
            "canModifyLabels": false,
            "canModifyEditorContentRestriction": true,
            "canModifyOwnerContentRestriction": true,
            "canRemoveContentRestriction": false,
            "canDisableInheritedPermissions": false,
            "canEnableInheritedPermissions": true
        },
        "thumbnailVersion": "5",
        "modifiedByMe": true,
        "permissionIds": [
            "anyoneWithLink",
            "15460926789956708137"
        ],
        "linkShareMetadata": {
            "securityUpdateEligible": false,
            "securityUpdateEnabled": true
        },
        "inheritedPermissionsDisabled": false
    }
]```

2.

[
{
“value”: “1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8”,
IMTINDEX”: 1,
IMTLENGTH”: 1
}
]


3.


[
{
“fileId”: “1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8”,
“kind”: “drive#permission”,
“id”: “anyoneWithLink”,
“type”: “anyone”,
“role”: “reader”,
“allowFileDiscovery”: false,
“shareLink”: “Pinterest test - Google Drive”,
“webContentLink”: “https://drive.google.com/uc?id=1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8&export=download
}
]


4.

[
{
“value”: “https://drive.google.com/uc?export=view&id=1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8
}
]


5. 

[
{
“0”: “Bora Bora map”,
“1”: “Things to do in Bora Bora”,
“2”: “What To Do In Raiatea Island: 14 Activities!”,
ROW_NUMBER”: 2,
SPREADSHEET_ID”: “/1s0qocUi7-J2wQe6QQ1UxcWlp038GGEZb/1c-Oxxv8S1f1b7iWZBkaUQzLvuZ1RLzm6SxHzC_-m3J8”,
SHEET”: “Sheet1”,
IMTLENGTH”: 1,
IMTINDEX”: 1
}
]

Hi, I explained in more detail below with the file.

Hey Laura,

you don’t need the iterator module, the watch module already returns separate bundles for each item.

Then if you are using the file ID to build your own link, then you don’t need the Get a Share link module (you already have the file ID) and you don’t need the tools module (you can just put the same thing directly in the Pinterest module).

And finally → can you share what the Get Range Values module is returning as output? Cause it doesn’t look like it is searching for this specific file to find it’s metadata, but just gets the second row in the sheet.

Hi, that’s exactly what it does actually :thinking:
The value it returns is this:

This is basically what is in my excel file, what I add manually:

OK so how are you matching the file in gdrive with the correct row in the sheet?

Hi! I changed the scenario and decided to split it into 2 scenarios.

Scenario 1 = First is the process of uploading an image on Google Drive which will trigger adding it to my Google sheet and if there is a topic on the sheet it will generate the pin’s title and description.
→ it will only generate this if I add the topic for it to generate it.
The issue I get here is an error if the topic was not added, so I’m wondering if I’m supposed to add a router so that a row only gets updated when a topic was added to avoid having this issue as it only appears to be an issue if I havn’t added a new topic. I think maybe it doesn’t understand what row?

Scenario 2 = On my Google sheet I have a column where I approve the row so where the status is “approved” it is pushed to Pinterest and once it was published on Pinterest in the column posted it should update to “Yes”
→ When I try this scenario, the pin posts but I keep getting an error on my Update a row module, where it is suppose to update it to posted - “Yes”

This is the error I get :backhand_index_pointing_down:

This is how the scenarios look like now:

Scenario 1

Scenario 2

This is how my Google Sheet looks like: