Step 1: Create a Trigger
You'll need some kind of trigger event. For this example, we'll use Zapier's Forecast app:
Step 2: Add the Webhooks by Zapier App
Use Zapier's built-in Webhooks app and select the POST action:
Step 3: Setup the DocRaptor API Call
The only required parameters are "type", "document_content", and "hosted". You can optionally defined "hosted_expires_at" and/or "hosted_download_limit":
Leave all these options on their defaults:
Lastly, make sure you have a DocRaptor account and insert your API key followed by a pipe character "|" (it's normally above the backslash) with no spaces as the Basic Authentication key:
Click Continue and give everything a quick test.
Step 4: Do something with the PDF
That's all! From there, you'll have an awesome PDF and you can put it wherever you want. For this example, we'll post the forecast our chatroom:
If you have any problems or questions, please contact our support team at firstname.lastname@example.org!