Share via


Nutrient - Convert to PDF (Preview)

Effortlessly convert documents, emails, CAD files, and more files into high-quality PDFs with Nutrient Document Converter actions. Support for 60+ file types, including Word, Excel, PowerPoint, Visio, HTML, and PDF/A for long-term archiving. Ideal for document management, compliance, and digital workflows.

This connector is available in the following products and regions:

Service Class Regions
Copilot Studio Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Nutrient (formerly Muhimbi) Support
URL https://support.nutrient.io/hc/en-us/requests/new
Email support+low-code@nutrient.io
Connector Metadata
Publisher Muhimbi trading as Nutrient
Website https://www.nutrient.io/low-code/
Privacy policy https://www.nutrient.io/legal/privacy/
Categories Collaboration;Content and Files

Convert documents to PDF

Use Nutrient Document Converter to convert documents through a REST API or a self-hosted server. You can integrate with code samples in C#, Java, .NET, PHP, JavaScript, and Ruby.

Convert files to PDF

Convert over 100 file formats to PDF, including:

  • Microsoft Office (Word, Excel, PowerPoint, InfoPath)
  • CAD files
  • HTML
  • Images and more

Refer to the following guides for language-specific integration:

Convert PDF to Microsoft Office formats

Convert PDF documents to Office files using C# code samples. Refer to the C# conversion guide for examples.

Convert PDF to SVG

Convert a PDF document to a Scalable Vector Graphics (SVG) file. Refer to the C# conversion guide for implementation details.

Convert PPTX to SVG

Convert Microsoft PowerPoint (PPTX) files to SVG format using C#. Refer to the C# conversion guide for step-by-step instructions.

Prerequisites

To use Nutrient Document Converter, you need a Free or Trial account. Refer to the comparison guide to understand the differences between these account types.

Getting started

Follow the steps below to start using the Nutrient Document Converter connector:

Known issues and limitations

Documents protected with IRM, DRM, RMS, or AIP solutions cannot be processed due to security restrictions.

For questions or assistance, contact our Support team.

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Convert CAD drawing to PDF

Convert a CAD drawing file to a PDF or other formats

Convert document to PDF-A

Archive documents by converting Office files, images, and PDFs to PDF/A 1b, 2b, and 3b formats

Convert documents to PDF

Convert more than 60 file types to PDF documents or other formats

Convert email to PDF

Convert an email file to PDF or other format

Convert Excel document

Convert Microsoft Excel (XLS, XLSX, and more) to PDF documents or other formats

Convert HTML to PDF

Convert URLs or HTML files to PDF

Convert InfoPath document

Convert an InfoPath file to PDF or other formats

Convert PowerPoint document

Convert Microsoft PowerPoint (PPT, PPTX, and more) to PDF documents or other formats

Convert Visio document

Convert a Visio document to PDF or XPS

Convert Word document

Convert Microsoft Word (DOC, DOCX, and more) to PDF documents or other formats

Convert CAD drawing to PDF

Convert a CAD drawing file to a PDF or other formats

Parameters

Name Key Required Type Description
Source file name
source_file_name True string

Name of the source file including extension

Source file content
source_file_content True byte

Content of the file to convert

Paper size
paper_size enum

Paper size for the output

Paper size (custom)
paper_size_custom string

Applicable if 'Paper size' is set to 'Custom'

Page margins
page_margins string

E.g. '1.5cm' (for uniform) or '0.5in, 0.25in, 0.5in, 0.25in' (for non-uniform) margins

Background color
background_color string

.Net color name or hex color (#aarrggbb or #rrggbb)

Foreground color
foreground_color enum

The foreground effect or color

Foreground color (custom)
foreground_color_custom string

.Net color name or hex color (#aarrggbb or #rrggbb). Applicable if 'Foreground color' is set to 'Custom'

Empty layout detection
empty_layout_detection_mode enum

Select which layouts should be skipped

Layout Sort Order
layout_sort_order enum

Specify the sort order in which the layouts are converted

Start page
start_page integer

The first page to include

End page
end_page integer

The last page to include

Override settings
override_settings string

Optional settings using Muhimbi's XML syntax

Fail on error
fail_on_error boolean

Fail on error

Returns

Response data for all operations

Convert document to PDF-A

Archive documents by converting Office files, images, and PDFs to PDF/A 1b, 2b, and 3b formats

Parameters

Name Key Required Type Description
Source file name
source_file_name True string

Name of the source file including extension

Source file content
source_file_content True byte

Content of the file to convert

PDF profile
pdf_profile True enum

PDF profile to use for rendering the document

Override settings
override_settings string

Optional settings using Muhimbi's XML syntax

Fail on error
fail_on_error boolean

Fail on error

Returns

Response data for all operations

Convert documents to PDF

Convert more than 60 file types to PDF documents or other formats

Parameters

Name Key Required Type Description
Source file name
source_file_name True string

Name of the source file including extension

Source file content
source_file_content True byte

Content of the file to convert

Output format
output_format True enum

Output format

Override settings
override_settings string

Optional settings using Muhimbi's XML syntax

Template file content
template_file_content byte

Optional template file content (e.g. infopath XSN file)

Fail on error
fail_on_error boolean

Fail on error

Returns

Response data for all operations

Convert email to PDF

Convert an email file to PDF or other format

Parameters

Name Key Required Type Description
Source file name
source_file_name True string

Name of the source file including extension

Source file content
source_file_content True byte

Content of the file to convert

Include attachments
convert_attachments boolean

Include attachments

Attachment action
attachment_merge_mode enum

What to do with attachments

Attachment summary
display_attachment_summary boolean

Display attachment name in the email header

Unsupported attachment action
unsupported_attachment_behaviour enum

What to do with attachments which cannot be converted into PDF

Include attachment filter
include_attachment_types string

Comma separated values, e.g. *.txt, June???.docx

Exclude attachment filter
exclude_attachment_types string

Comma separated values, e.g. *.txt, June???.docx

Viewport size
viewport_Size string

Specify the viewport size for the conversion in pixels. E.g. 1024x768

Paper size
paper_size enum

Paper size for the output

Paper size (custom)
paper_size_custom string

Applicable if 'Paper size' is set to 'Custom'

Page margins
page_margins string

E.g. '1.5cm' (for uniform) or '0.5in,0.25in,0.5in,0.25in' (for non-uniform) margins.

Attachment errors
break_merge_on_error boolean

How to deal with failure when converting attachments

Min. image size
minimum_image_attachment_dimension integer

Exclude images smaller than the specified number of pixels

Offline mode
enable_offline_mode boolean

In offline mode external resources are disabled

Start page
start_page integer

The first page to include

End page
end_page integer

The last page to include

Conversion quality
quality enum

Quality of the output file

Override settings
override_settings string

Optional settings using Muhimbi's XML syntax

Fail on error
fail_on_error boolean

Fail on error

Returns

Response data for all operations

Convert Excel document

Convert Microsoft Excel (XLS, XLSX, and more) to PDF documents or other formats

Parameters

Name Key Required Type Description
Source file name
source_file_name True string

Name of the source file including extension

Source file content
source_file_content True byte

Content of the file to convert

Output format
output_format True enum

Output format

Range
range enum

Specify which parts of the document to process

Reveal hidden rows
unhide_all_rows boolean

Specify whether you would like hidden rows to be revealed

Reveal hidden columns
unhide_all_columns boolean

Specify whether you would like hidden columns to be revealed

Fit to # pages wide
fit_to_pages_wide integer

Fit all columns onto this number of pages

Fit to # Pages tall
fit_to_pages_tall integer

Fit all rows onto this number of pages

Start page
start_page integer

The first page to include

End page
end_page integer

The last page to include

Quality
quality enum

Quality of the output file

Override settings
override_settings string

Optional settings using Muhimbi's XML syntax

Fail on error
fail_on_error boolean

Fail on error

Returns

Response data for all operations

Convert HTML to PDF

Convert URLs or HTML files to PDF

Parameters

Name Key Required Type Description
Source URL or HTML
source_url_or_html True string

HTML fragment or URL to convert

Page orientation
page_orientation enum

Page orientation

Media type
media_type enum

Media type

Authentication type
authentication_type enum

Authentication type

User name
username string

User name

Password
password password

Password

Viewport size
viewport_size string

Optional width and height of the simulated browser (e.g. 1024x768)

Conversion delay
conversion_delay integer

Conversion delay (in milliseconds)

Fail on error
fail_on_error boolean

Fail on error

Returns

Response data for all operations

Convert InfoPath document

Convert an InfoPath file to PDF or other formats

Parameters

Name Key Required Type Description
Source file name
source_file_name True string

Name of the source file including extension

Source file content
source_file_content True byte

Content of the file to convert

Output format
output_format True enum

Output format

Template file content
template_file_content byte

Optional XSN file content

View names
views_to_convert string

Comma separated list view names to convert

Include attachment
convert_attachments boolean

Include attachments

Attachment action
attachment_merge_mode enum

What to do with attachments

Unsupported attachment action
unsupported_attachment_behaviour enum

What to do with attachments which cannot be converted into PDF

Break merge on error
break_merge_on_error boolean

Break conversion when processing of an individual part fails

Include attachment filter
include_attachment_types string

Comma separated values, e.g. *.txt, June???.docx

Exclude attachment filter
exclude_attachment_types string

Comma separated values, e.g. *.txt, June???.docx

Default paper size
default_paper_size enum

Specify paper size to be used when it is not specified in the view

Default paper size (custom)
default_paper_size_custom string

Applicable if 'Default paper size' is set to 'Custom'

Force paper size
force_paper_size enum

Force this papers size regardless of whether it is set in the views or not

Force paper size (custom)
force_paper_size_custom string

Applicable if 'Force paper size' is set to custom

Default page orientation
default_page_orientation enum

Specify papers size to be used if it is not specified in the view

Force page orientation
force_page_orientation enum

Force page orientation regardless of whether it is set in the view or not

Start page
start_page integer

The first page to include

End page
end_page integer

The last page to include

Conversion quality
quality enum

Quality of the output file

Override settings
override_settings string

Optional settings using Muhimbi's XML syntax

Fail on error
fail_on_error boolean

Fail on error

Returns

Response data for all operations

Convert PowerPoint document

Convert Microsoft PowerPoint (PPT, PPTX, and more) to PDF documents or other formats

Parameters

Name Key Required Type Description
Source file name
source_file_name True string

Name of the source file including extension

Source file content
source_file_content True byte

Content of the file to convert

Output format
output_format True enum

Output format

Range
range enum

Specify which parts of the document to process

Print layout / handouts
print_output_type enum

Specify how you would like the output to be arranged

Frame slides
frame_slides boolean

Include a frame / border around the slides

Start page
start_page integer

The first page to include

End page
end_page integer

The last page to include

Quality
quality enum

Quality of the output file

Override settings
override_settings string

Optional settings using Muhimbi's XML syntax

Fail on error
fail_on_error boolean

Fail on error

Returns

Response data for all operations

Convert Visio document

Convert a Visio document to PDF or XPS

Parameters

Name Key Required Type Description
Source file name
source_file_name True string

Name of the source file including extension

Source file content
source_file_content True byte

Content of the file to convert

Output format
output_format True enum

Output format

Range
range enum

Specify which parts of the file to render

Start page
start_page integer

The first page to include

End page
end_page integer

The last page to include

Quality
quality enum

Quality of the output file

Override settings
override_settings string

Optional settings using Muhimbi's XML syntax

Fail on error
fail_on_error boolean

Fail on error

Returns

Response data for all operations

Convert Word document

Convert Microsoft Word (DOC, DOCX, and more) to PDF documents or other formats

Parameters

Name Key Required Type Description
Source file name
source_file_name True string

Name of the source file including extension

Source file content
source_file_content True byte

Content of the file to convert

Output format
output_format True enum

Output format

Display for review
revisions_and_comments_display_mode enum

Choose what changes would you like to see in this document

Review markup mode
revisions_and_comments_markup_mode enum

Choose how you would like to see changes in this document

Generate bookmarks
generate_bookmarks enum

Choose weather you would like to generate bookmarks based on the document structure

Start page
start_page integer

The first page to include

End page
end_page integer

The last page to include

Quality
quality enum

Quality of the output file

Override settings
override_settings string

Optional settings using Muhimbi's XML syntax

Fail on error
fail_on_error boolean

Fail on error

Returns

Response data for all operations

Definitions

operation_response

Response data for all operations

Name Path Type Description
Processed file content
processed_file_content byte

File generated by the Muhimbi converter.

Base file name
base_file_name string

Name of the input file without the extension.

Result code
result_code enum

Operation result code.

Result details
result_details string

Operation result details.