Forum Discussion

wpenfold's avatar
wpenfold
Contributor
5 years ago

Need to split a PDF into individual PDFs

Is there a way to use Snaplogic to split a PDF file containing may documents, into individual documents? Currently this is being done with PHP, but it would be really helpful if we could to this in Snaplogic.

4 Replies

  • bojanvelevski's avatar
    bojanvelevski
    Valued Contributor

    One way you can do this is by using an API. I’ve used ConvertAPI, it’s pretty simple and straightforward process.

    Regards,
    Bojan

    • wpenfold's avatar
      wpenfold
      Contributor

      You can call this from within a snaplogic pipeline? I’m a little concerned about security of data. The PDFs I’m working with have financial information.

      • bojanvelevski's avatar
        bojanvelevski
        Valued Contributor

        Yes you can. Here is a sample response:

        You’ll have to configurate a REST POST snap with the generated link from ConvertAPI, add a token parameter, and you have the option to upload the file directly within the POST snap. It’s pretty useful service, but I don’t know enough about your concerns, if you decide to use it, you’ll have to make some research.