Run After Nodes: Select Log Fortune to ensure this node runs after the fortune is logged.
Paste the following code into the editor:
Copy
import waveassist# Initialize WaveAssist with your credentialswaveassist.init('<your-uid-here>', 'daily-fortune')# Fetch the stored fortune from the Data tabtoday_fortune = waveassist.fetch_data('today_fortune')# Send the fortune via emailwaveassist.send_mail( subject="Your Daily Fortune", html_content=f"<p>Your Fortune: {today_fortune}</p>")print("Email sent successfully!")
Make sure you have configured your email settings in the WaveAssist dashboard.