- I am using a research agent to look for new hotel openings in Jacksonville, Florida. After I get the information, it will be a list of about 8 hotels. I want to put each hotel into a googlesheet with a different row with column headings: hotel name, hotel opening, source of information.
- I was able to use the research agent to find the information.
Then I was able to say, take this information and put it into a JSON Array.
"[
{
““hotel_name””: ““SpringHill Suites Jacksonville Beach Oceanfront””,
““opening_date””: "“Opened April 2023"”,
““source””: ““TripAdvisor Reviews / Check Prices””
},
{
““hotel_name””: ““SpringHill Suites Jacksonville Baymeadows””,
““opening_date””: "“Opened March 2023"”,
““source””: ““TripAdvisor Reviews / Check Prices””
},
{
““hotel_name””: ““AC Hotel Jacksonville””,
““opening_date””: "“Opening March 2024"”,
““source””: ““TripAdvisor Reviews / Check Prices””
},
{
““hotel_name””: ““Tru by Hilton Jacksonville West””,
““opening_date””: "“Opening March 2024"”,
““source””: ““TripAdvisor Reviews / Check Prices””
},
{
““hotel_name””: "“Tru by Hilton Jacksonville Airport I-95"”,
““opening_date””: "“Opening March 2024"”,
““source””: ““TripAdvisor Reviews / Check Prices””
},
{
““hotel_name””: ““Home2 Suites by Hilton Jacksonville Downtown””,
““opening_date””: ““Opening April 28, 2024"”,
““source””: ““TripAdvisor Reviews / Check Prices””
}
]”
That’s what I get. It never seems to be able to be broken out by sections.
This where I get stuck because I can’t figure out how to map hotel name to hotel name column, opening date to opening date column and source to source column.
I tried each JSON module but none of them splits it up.
Any ideas?
So I didn’t keep running the agent, I posted the results into a word document and tried to split to from there so I wouldn’t keep using credits.
Include screenshots of
-
your scenario setup (functions, mappings, variables, etc.)
-
module configurations and outputs
-
any error messages you are getting
I’m sure it’s probably something simple that I am just not seeing.