Skip to main content
After building and tuning, your Email Assistant is now fully ready. It can read knowledge bases, use search tools, and generate beautifully formatted replies. But right now, it’s still sitting inside your Dify Studio and only you can see it. How do we share it with others? How do we know if it’s working correctly when we aren’t watching? It’s time for the final two critical steps: Publish and Monitor.

Publish Your Application

  1. Move your mouse to the top right corner of the canvas and click the Publish button. You’ll see other buttons light up.
    Whenever you make changes to your workflow, you must click Publish → Update to save them.If you don’t update, the live version will remain the old one.
    Publish
  2. Once published, the gray-out buttons turned clickable now.
    1. Share Your App Click Run App. Dify automatically generates a WebApp for you. This is a ready-to-use chat interface for your Email Assistant. You can send this URL to colleagues or friends. They don’t need to log in to Dify to use the email assistant.
      WebApp
    2. Batch Run App If you have 100 emails to reply, copying and pasting them one by one will drag you down. In Dify, all you need to do is to prepare a CSV file with the 100 emails. Upload it to Dify’s Batch Run feature. Dify processes all 100 emails automatically and gives you back a spreadsheet with all the generated replies. Since we set specific variables (like email_content), your CSV must match that format. Dify provides a template you can download to make this easy.
      Download Template
    3. Others
      • Access API Reference: If you know coding, you can get an API Key to integrate this workflow directly into your own website or mobile app
      • Open in Explore: Pin this app to your workspace sidebar for quick access next time
      • Publish as a Tool: Package your workflow as a plugin so other Agents can use your Email Assistant as a tool

Monitor Your App

As the creator, you need to understand the status of this assistant. By monitoring and using logs, you can check the health, performance, and costs.

The Command Center: Monitoring

Click Monitoring on the left sidebar to see how your app is performing.
NameExplanation
Total MessagesHow many times users interacted with the AI today. It shows how popular your app is.
Active UsersThe number of unique people engaging with the AI.
Token UsageHow much tokens the AI used. Watch for sudden spikes to control costs.
Avg. User InteractionsDo the users ask follow-up questions?

The Magnifying Glass: Logs

Logs record the details of every single run: time, input, duration, and output. To access detailed records, click Logs in the left sidebar. Why Logs?
  • Debugging: User says It doesn’t work? Check the logs to replay the crime scene and see exactly which node failed.
  • Performance: See how long each node took. Find the blocker that is slowing things down.
  • Understand Users: Read what users are actually asking. Use this real data to update your Knowledge Base or improve your Prompts.
  • Cost Control: Check exactly how many tokens a specific run cost.
NameExplanation
Start TimeThe time when the workflow was triggered
StatusSuccess or Failure.
Run TimeHow long the whole process took.
TokensThe tokens consumed by this run.
End User or AccountThe specific user ID or account that initiated the session.
Triggered ByWebApp interface or called via API.
You can click on each log entry to view more details. For example, you can identify frequently asked user questions and use them to timely update and modify your Knowledge Base. Building AI app is a new starting point, and this is the core of LLMOps (Large language model operations).
  1. Observe: Look at the Logs. What are users asking? Are they happy with the answers?
  2. Analyze: Hallucination happens on certain questions or some tools run out often
  3. Optimize: Go back to the Canvas. Edit the Prompt, add a document to the Knowledge Base, or tweak the workflow logic
  4. Publish: Release the upgraded version
By repeating this cycle, your Email Assistant gets smarter and faster.

Thank You

Thank you for your time and you’re now a Dify builder with a new way of thinking:
Break down the task → Choose Nodes and Tools → Connect them with the right logic → Monitor and upgrade
Now, feel free to open a template in Dify explore. Break it down, analyze it, or start building a workflow that solves a task in your daily work from the scratch. May your workload get lighter and your imagination goes higher. Happy building with Dify.