What is your goal?
I want to build a data enrichment workflow using gemini as my LLM
What is the problem & what have you tried?
The problem i am having now is ‘’'json comes before the {output} gotten from the LLM.
I have tried several prompt and also try to use regex to remove it but it is not working out
Error messages or input/output bundles
invalid json from the parse json module
Screenshots (scenario flow, module settings, errors)
Welcome to the Make community!
Have you seen these previous discussions?
Your question may already have answers here:
You can search this forum for existing answers and the documentation in the Help Centre to get to a solution faster.
Still require assistance?
If the previous/related discussions are not similar to your question, please reply providing additional details to demonstrate the difference(s) between your question and the ones above.
If you require help understanding or implementing workarounds/solutions in the related discussions, please reply with more details of what you have tried, including screenshots.
— @samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!
Alternatively, you can also use my My Free Custom App’s “Extract JSON” module, which removes any markdown codefence for you.
Example:
Output:
Hope this helps! If you are still having trouble, please provide more details.
— @samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!
Thank you so much, i can’t express how grateful i am.
I used the pattern you wrote in one of the discussion you specified above and it worked.
Thank you so once again.
I want to be so good with using make.com,i have already completed all the academy. Your recommendation will be highly appreciated.
No problem, glad I could help with your question:
"Data Enrichment - Make.com Automation Scenario" 
1. Which was the most helpful post in this thread?
The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep this forum organised. 
This marks the topic as solved, so that others can:
- save time when browsing the latest activity on the forum, and
- quickly jump to the solution in this topic (from the top)
To do this, simply click the checkbox at the bottom of the post that is the most helpful in answering your question.
|
Note: |
 |
 |
Here’s a magic link to a list of your other “unsolved” topics— status:unsolved |
|
2. Have you learnt something new?
Do bookmark this topic so you can easily find and return to this topic in future.

3. Have a different question? Start a new topic.
Do you have a question that is not about "Data Enrichment - Make.com Automation Scenario"? Please start a new topic.
Creating a separate topic for each question makes it easier for others with the same problem to search for answers. You are also more likely to receive help sooner as new topics are displayed first on the forum’s “new” page!
Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —
Learn Make
How-Tos
Useful to Know
Save development time and operation credits with these utility modules: Chunk Text; Chunk Array; Chunk Words; Multiple Find & Replace; Collection to Array/String List; Execute JavaScript; Estimate Tokens; Calculate Difference Between Two Dates; Get Next Business Day (with holidays); List Upcoming Dates of Day of Week; and more!
Make Partners & Custom Apps
— @samliew