Google Docs template duplication problem when mapping formula type fields with Airtable

Hi, I have created a scenario that generates a template in Google Docs based on data from Airtable. For the fields of type “lookup” I have used the function “toString” and the data is loaded correctly into my template. However, I have a problem with the fields of type ‘formula’. When mapping data in the Google Docs module, when I select a field with a formula and run the script, I get duplicate templates. The same thing happens when, for a field with a formula, I try to use the “toString” function.

Translated with DeepL.com (free version)

Welcome to the Make community!

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

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

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.


(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Input/Output bundles

Please provide the input and output bundles of the trigger/iterator/aggregator modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading them here will look like this:

module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!
samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

blueprint.json (73.5 KB)


wynik_google drive

INPUT_OUTPUT.docx (16.6 KB)

Thank you for the information, I am attaching the blueprint and screen of the entire scanriuos, the list of duplicate files in the google drive, as well as the input and output data from the google drive module. I hope this will be helpful.

  • What is the output bundle of module [14]?

  • Can you run your scenario and take a screenshot of the little speech bubbles (bundles) appearing at the top of each module?

I managed to solve the problem. I already write what I changed, which is.

  1. I left the second module (Airtable-get a record) because it only needs one specific row each time

  2. I changed the Google Shets module (get range values) to search rows, and only there I got the option to filter records. I applied a filter on the record id, this too still didn’t quite work right, until I applied a filter on the maximum number of rows returned.

Only after changing the Google module, I had the option to select a specific cell from google Shets in the Airtable module (update a record) , otherwise I had to select the entire table range.

2 Likes