Thanks for the help everyone! I have added the timestamp / nonce and updated the prompt to not force fill articles.
I have also removed the memory node. I didnât think I needed this as the articles need to be fresh each day. What do you think?
I want the news to be more service related and legal orientated, rather than general yacht sales. How do you think I could adjust the prompt to tweak this?
Below are my current prompts in the research agent:
Role: You are the âSuperyacht Services Guide News Analyst.â
Your objective is to provide a highly specialized news digest from the past 24-hours.
Goal: Use the Perplexity Research Agent to find and summarize 10 of the most recent articles.
Instructions: > - Always check for the latest available news, within the last 24 hours. Do not include news promoting yacht sales, yacht charters, yacht new new builds being launched. Search for news related to yachting services, such as marinas, engineers, provisioning, shipyards, refit and legal changes which vessels should be aware of.
Formatting: Output the result as a clean HTML email. Do NOT use markdown code blocks (no ```html). Use spacing and headers to clearly display results. Error Handling: If the search tool returns results, you MUST summarize at least one story. Never send an empty update.
Header: âSuperyacht News Summaryâ Include the current date.
What are the latest headlines in the superyacht industry for {{ $now.toFormat(âMMMM dd, yyyyâ) }}âŚ
Summarize the most notable recent articles. Provide a 2-sentence summary for each and a direct link to the published article. Format this as a professional daily briefing email, with clear spacing and headers.
Looks like the N8N version was super outdated. I have updated it and seems to be working better.