Next Steps: Expand Your Fortune of the Day Project

You’ve built your first working workflow — congrats! 🎉
Now let’s explore how you can grow it into a full automation system.


1. Send Your Fortune via Email

Add a new node Send Email:

  1. Click Add Node in your project dashboard.
  2. Fill in the node details:
    • Node Name: Send Email
    • Run After Nodes: Select Log Fortune to ensure this node runs after the fortune is logged.
  3. Paste the following code into the editor:
import waveassist

# Initialize WaveAssist with your credentials
waveassist.init('<your-uid-here>', 'daily-fortune')

# Fetch the stored fortune from the Data tab
today_fortune = waveassist.fetch_data('today_fortune')

# Send the fortune via email
waveassist.send_mail(
    subject="Your Daily Fortune",
    html_content=f"<p>Your Fortune: {today_fortune}</p>"
)

print("Email sent successfully!")
  1. Make sure you have configured your email settings in the WaveAssist dashboard.
  2. Click Save.

2. Run and Re-Deploy

  1. Run your workflow by clickin on the play button of the first node and verify that you received the email successfully.
  2. Once confirmed, click Deploy to publish your updated workflow with version 0.0.2.

That’s it! You will now receive daily emails about your fortune from WaveAssist! 🎉


Keep Building

From this foundation, you can build:

  • A Slack bot to share fortunes with your team.
  • Use AI to generate new fortunes for you everyday.
  • A fortune-sharing web page using WaveAssist’s API.
  • An SMS notifier to send fortunes via text.
  • A morale booster for your team with personalized messages.

You can also use Assistants for pre-configured production-ready workflows.

Next Steps: Expand Your Fortune of the Day Project

You’ve built your first working workflow — congrats! 🎉
Now let’s explore how you can grow it into a full automation system.


1. Send Your Fortune via Email

Add a new node Send Email:

  1. Click Add Node in your project dashboard.
  2. Fill in the node details:
    • Node Name: Send Email
    • Run After Nodes: Select Log Fortune to ensure this node runs after the fortune is logged.
  3. Paste the following code into the editor:
import waveassist

# Initialize WaveAssist with your credentials
waveassist.init('<your-uid-here>', 'daily-fortune')

# Fetch the stored fortune from the Data tab
today_fortune = waveassist.fetch_data('today_fortune')

# Send the fortune via email
waveassist.send_mail(
    subject="Your Daily Fortune",
    html_content=f"<p>Your Fortune: {today_fortune}</p>"
)

print("Email sent successfully!")
  1. Make sure you have configured your email settings in the WaveAssist dashboard.
  2. Click Save.

2. Run and Re-Deploy

  1. Run your workflow by clickin on the play button of the first node and verify that you received the email successfully.
  2. Once confirmed, click Deploy to publish your updated workflow with version 0.0.2.

That’s it! You will now receive daily emails about your fortune from WaveAssist! 🎉


Keep Building

From this foundation, you can build:

  • A Slack bot to share fortunes with your team.
  • Use AI to generate new fortunes for you everyday.
  • A fortune-sharing web page using WaveAssist’s API.
  • An SMS notifier to send fortunes via text.
  • A morale booster for your team with personalized messages.

You can also use Assistants for pre-configured production-ready workflows.