Split Function Not Creating Array

Hello everybody! I’m trying to split a text string from an email based on the | character. I have one other scenario where this is working perfect. The new variable shows up as an array in the scenario that works.
image
image

However, in the second scenario that I’m trying to add this same variable to will not split the variable. The split function is identical and the variable name is identical.
image

Then I try to go use the first position of the array as I did with the first scenario, the new variable does not appear as an array.
image

It has been running, but loads the entire text string from the email and does not seem to be splitting. I have deleted and recreated the set variable function, refreshed metadata, and let the scenario run a few times. No matter what will the variable appear as an array. Does anybody have any thoughts to fix this?

Welcome to the Make community!

If you need assistance, please provide the following:

1. 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.

Screenshot_2023-08-24_230826
(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)

2. And most importantly, Input/Output bundles

Please provide the input and output bundles of EACH and ALL the 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”.
Screenshot_2023-10-06_141025

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-input-bundle.txt (12.3 KB)
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:
    Screenshot_2023-10-02_191027

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!

2 Likes

I was working on it then got distracted. Had to remove sensitive information. The Set Variable creates the input for Notion.
Notion_InputBundle.json (631 Bytes)
Notion_OutputBundle.json (13.6 KB)
SetVar_InputBundle.json (402 Bytes)
SetVar_OutputBundle.json (345 Bytes)