Split results

Good morning
I want to split the responses provided by the gemini.ai node in order to export them to a notion table so that each response creates a page for me.
in attachment, here is the output but I cannot get these split responses and I cannot create a page on my table per response.

Thank you for your help

Welcome to the Make community!

You can use the built-in functions replace before you use split

e.g.:

{{ split(replace("abc,   123,   def,   456"; "/,\s+/g"; "|"); "|") }}

For more information, see the function documentation in the Help Center.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like

Thank you for your reply

I tried your code with :

!

and this is the results :

I’ve got this error when i want to export to notion

and i’ve got just one choice after split

This is my scenario :