Diaflow Pages

Diaflow Page provides users with essential capabilities to manage and manipulate document-based content within their workflows.

Description

What it does:

  • Diaflow Page provides users with essential capabilities to manage and manipulate document-based content within their workflows. Users can automate the creation of new documents, seamlessly append content to existing pages, or extract information for further processing.

  • This component serves as a dynamic bridge between your automation logic and your knowledge base, ensuring that reports, articles, and logs are generated and stored efficiently. The Diaflow Page component has the identifier of diaflow-page-X, where X represents the instance number of the Diaflow Page component.

When to use it?

  • Add to existing document: Append new text or data to a document that is already created. Use this when you want to maintain a running log, update a status report, or add a chapter to a long-form text.

  • Add to new document: Create a completely fresh document from scratch. Use this when your workflow generates a standalone report, a new blog post, or a unique summary that needs its own dedicated file.

  • Retrieve data from a document: Read and extract the full content of a specific document. Use this when you need to feed existing page content into an AI model for summarization, translation, or analysis.

Component settings

Parameter Name
Description

Action

The action to be performed on the Pages

There are 3 possibilities.

  • Add to existing document

  • Add to new document

  • Retrieve data from a document

Page

  • Visible only when "Add to existing document" or "Retrieve data from a document" is selected

  • The target document. Select the specific page from your Diaflow Pages library that you wish to interact with.

Title

  • Visible only when "Add to new document" is selected

  • The name of the new document to be created. You can type a static title or use variables to generate dynamic titles (e.g., "Daily Report - {{date}}").

Content

  • Visible only when "Add to existing document" or "Add to new document" is selected

  • The data or text content that will be written into the document. This is usually mapped from the output of previous nodes (such as AI generated text).

Use case

Here is a simple use case of the Diaflow Page component, where the component is used to save an AI-generated article into a brand-new document.

Input:

  • Action = "Add to new document"

  • Input = Refer to the output of the node before (OpenAI node)

  • Document name = Refer to the output of the node before (Diaflow Pages)

Output:

  • The data has been added to the page

At the Diaflow Page, the user reloads the page, views the new document

Last updated

Was this helpful?