Forum Discussion

AleksandarLazic's avatar
AleksandarLazic
Qrew Member
3 years ago

How to upload a PDF to QB using Webhook

Hi,
I need to upload a submission (service report) pdf file from FastField to an attachment field in QB.
FastField doesn't enable using URL in this case, so I cannot use Upload File from the QB Channel.
Instead of that, FF provides a Create PDF Report API (POST). I used  Webhook (Make Request) to call that API. In the response I really got the pdf file 

... Access-Control-Allow-Headers:"Content-Type"
Content-Type:"application/pdf" ...

but I don't know how to "pick it up" to QB.

Do you have any hint?

Thanks in advance
Alex

------------------------------
Aleksandar Lazic
------------------------------

2 Replies

  • You might be able to do this with Pipelines.   You won't be able to do it just using the webhooks tool, as that won't let you process the response.

    ------------------------------
    Jeff Peterson
    ------------------------------
    • AleksandarLazic's avatar
      AleksandarLazic
      Qrew Member
      Hi Jeff,
      Of course, I meant to do this with Pipelines. I just used Webhook to POST API.

      Thanks in advance!
      BR
      Alex

      ------------------------------
      Aleksandar Lazic
      ------------------------------