Using Power Automate with your own self-hosted PDF Blocks server

You can process the documents from your Power Automate workflow in your own self-hosted PDF Blocks server.

Configure Power Automate to use your own PDF server when creating the connection to PDF Blocks:

Create a connection in Power Automate

Your server running in Heroku

If you self-host your PDF Blocks server in Heroku and followed our instructions, your server is ready.

When creating the PDF Blocks connection in Power Automate, set the Server Hostname to {your-app-name}.herokuapp.com.

For example, if you named your application my-application when creating the connection in Heroku, set Server Hostname to my-application.herokuapp.com.

If you set an API key while creating the app, set the API key to your chosen API key (not the hash).

Your server running as a Docker containers

First, make sure that your self-hosted PDF Blocks server:

  • Is running,
  • Accessible from the Internet, and
  • Responding to HTTPS connections

When creating the PDF Blocks connection in Power Automate, set Server Hostname to the hostname without “https://”.

For example, if your server is accessible from https://my.own.server.com, then set Server Hostname to my.own.server.com.

If you set an API key while creating the container (with the "-e API_KEY_HASH" parameter), set the API key to your chosen API key (not the hash).