Directus Extension Flow2pdf screenshot

Directus Extension Flow2pdf

Author Avatar Theme by Karamokoisrael
Updated: 10 Mar 2025
17 Stars

Categories

Overview

The Flow2Pdf extension significantly enhances the capabilities of the Directus platform by allowing users to print and download data from flow results through customizable liquid templates. With the growing importance of integrating data management workflows with diverse outputs, this tool brings a new level of efficiency and flexibility to developers who utilize Directus for their projects. By leveraging Node.js and incorporating a straightforward approach to interface creation, Flow2Pdf emerges as an essential tool for those looking to streamline their data presentation efforts.

The Flow2Pdf extension introduces a comprehensive user interface where developers can easily create button triggers, specify templates, and manage PDF settings, all while ensuring the seamless transfer of data from flows into beautifully formatted documents. This extension caters to the needs of modern development by allowing full control over the PDF output, making it suitable for a wide array of applications.

Features

  • Node.js Compatibility: Designed to work with Node.js 18 or higher, ensuring a modern environment for optimal performance.
  • Custom Interface: Adds a user-friendly interface to Directus, simplifying the process of printing and downloading flow results.
  • Liquid Template Support: Users can create personalized outputs with liquid JS templates, offering flexibility in document design.
  • API Endpoint Access: Provides an endpoint (flow2pdf/print) for developers looking to trigger PDF generation from their applications, whether built on Vue.js, React.js, or Angular.
  • PDF Customization Options: Users can customize PDF margins, page breaks, and image settings, allowing for tailor-made document outputs.
  • Button Configuration: Easily create buttons within the Directus collection with customizable labels, icons, and types to enhance user interaction.
  • Integration of Hyperlinks: Automatically add hyperlinks in the generated PDFs, ensuring a connective experience for users navigating through different sections.
  • Versatile PDF Output Behavior: Options to choose between printing directly or downloading the document as a PDF, offering users the preferred method of access.