Customer Portal

Upload PDF document to external system through an API

Comments 2

  • Avatar
    Vladimir Barton
    0
    Comment actions Permalink

    Hello Neelimaj,

    Thank you for reaching out! To fulfill your requirement of sending a file to an external system through a POST API call, we recommend utilizing the HTTPConnector component within CloverDX. The HTTPConnector component allows you to interact with RESTful APIs easily. Regardless of the file type/suffix, here's how you can configure it:

    1. HTTPConnector Component Setup:

      • Add an HTTPConnector component to your CloverDX graph.
      • Configure the "Request method" to POST.
    2. Input File Configuration:

      • For sending the PDF file, you can either hard-code the file path directly into the "Input File URL" property of the HTTPConnector component if the file path is static.

      OR

      • If you need dynamic file path mapping, you can take advantage of Input Mapping. You can map the filepath dynamically in CTL using the $out.0.inputFileUrl denotation.
  • Avatar
    neelimaj
    0
    Comment actions Permalink

    Thanks for your response, I am able to send document to external system through api by following these steps and the documentation link: https://doc.cloverdx.com/latest/designer/httpconnector.html#id_httpconnector_multipart_entities

Please sign in to leave a comment.