How to Integrate Albato and PDF.co?

About Albato and PDF.co

Albato is an AI-powered customer experience analytics platform. It provides businesses with tools to analyze customer interactions across various channels, gather valuable insights about customer behavior and sentiment, and improve overall customer experience. Albato focuses on helping businesses optimize their customer service, marketing strategies, and decision-making processes through data-driven insights.

PDF.co is a platform that offers a range of PDF-related tools and functionalities. It provides developers and businesses with APIs, software components, and online tools for working with PDF documents. PDF.co offers features such as PDF editing and conversion, data extraction, splitting and merging PDFs, document generation, and more. It allows users to automate PDF-related tasks, integrate PDF functionality into their applications, and simplify document processing workflows.

  1. Create an Automation
  2. Setup a Trigger
  3. Add an Action
  4. Connection to HTTP Request/Outgoing webhook
  5. Setup HTTP Request/Outgoing webhook
  6. Test Automation Builder
  7. Automation Log
  8. PDF Edit Add Output
  9. Demo

How to use PDF Edit Add API

1. Create an Automation

  • To begin, access your Albato account and navigate to the Automations menu. From there, click on the New button to initiate the creation of a new automation builder.

Create an Automations

2. Setup a Trigger

  • To configure the trigger for this tutorial, we will use the AlbatoTest and Test Event. However, it’s important to note that the choice of trigger depends on your specific preferences and requirements. Feel free to select a different trigger that aligns better with your needs.

Setup Trigger

3. Add an Action

  • First, locate and choose the HTTP Request/Outgoing webhook app. This application enables us to send data from one application to another using the HTTP protocol, serving as a communication mechanism between different systems or services.
  • Next, select the Send Request option to initiate the process of sending an HTTP request from one system to another. This action allows us to establish communication and facilitate data exchange between the systems involved.
  • Then, click the Add a connection button.

Add an Action

4. Connection to HTTP Request/Outgoing webhook

To establish a connection with the HTTP Request/Outgoing webhook, follow these steps:

  • In the Title field, provide a name for your connection that describes its purpose or functionality.
  • In the URL field, enter the following URL: https://api.pdf.co/v1/pdf/edit/add.
  • In the Content-Type field, choose Json from the available options.

Connection to HTTP Request/Outgoing webhook

  • Then, click the Add an action button.

Add an Action Button

5. Setup HTTP Request/Outgoing webhook

Let’s configure the HTTP Request/Outgoing webhook with the following steps:

  1. In the Request method field, choose POST. This method is used to send data to a server or create a new resource on the server.
  2. In the Request parameters field:
    • First, type the URL parameter and input the source file url.
    • Next, specify the annotationsString parameter along with the x and y coordinates where you want to add the text. You can easily obtain the coordinates using the PDF.co PDF Edit Add Helper tool.
    • Additionally, include the list of pages, font size, font name, and font color for the annotations. Refer to the PDF.co API Docs for the proper format for adding annotations.
  3. In the Request headers field:
    • Specify the x-api-key header along with your PDF.co API Key value. You can obtain the API key from your PDF.co dashboard or by signing up through the provided link.
    • Additionally, add the accept header with the value application/json.

Setup HTTP Request/Outgoing webhook

6. Test Automation Builder

  • Let’s proceed with testing the automation builder. After the successful testing, initiate the automation and click on the Automation log to access the outcome.

Test Automation Builder
Test Automation Builder

7. Automation Log

  • Within the Automation Log, select the entry labeled Webhook has been sent and proceed to copy the response URL. This URL can then be used to access and view the output of the process.

Automation Log
Automation Log

8. PDF Edit Add Output

  • Here’s the PDF document in which we successfully added text using PDF.co PDF Edit Add API.
PDF Edit Add Output
PDF Edit Add Output

9. Demo

  • Check out this PDF.co PDF Edit Add in action.
PDF.co PDF Edit Add Demo
PDF.co PDF Edit Add Demo

Throughout this tutorial, you gained knowledge on integrating Albato and PDF.co. You also acquired the skills to incorporate text into PDF documents using PDF.co PDF Edit Add API. This API enables you to include text, images, and signatures within PDF files. Additionally, you can utilize the API to add watermarks and fill out PDF forms efficiently.