You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agent-pdf/SKILL.md
+20-8Lines changed: 20 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,16 +28,34 @@ Upload a PDF file as multipart:
28
28
curl -X POST https://agent.simplepdf.com -F file=@document.pdf
29
29
```
30
30
31
+
## Presenting the result to the user
32
+
33
+
Always present the `url` field as a clickable link. This is the primary way users will open the editor.
34
+
35
+
If you have access to a browser automation tool (e.g. agent-browser, Playwright, chrome-devtools MCP server), offer to open the `url` directly so the user can edit the PDF without leaving the conversation.
36
+
37
+
The `iframe` and `react` fields are for developers embedding the editor in a web application. Only present these when the user is building a web app.
38
+
31
39
## Company-specific editor
32
40
33
-
Add `companyIdentifier` to route to a custom portal:
41
+
Add `companyIdentifier` to route to a custom SimplePDF portal:
34
42
35
43
```
36
44
GET https://agent.simplepdf.com?url=https://example.com/form.pdf&companyIdentifier=acme
37
45
```
38
46
39
47
This routes to `acme.simplepdf.com` instead of the default editor.
40
48
49
+
### Portal features
50
+
51
+
When using a `companyIdentifier`, the portal owner has access to:
52
+
53
+
-**Email notifications**: receive an email each time a user submits a filled PDF
54
+
-**Webhook notifications**: receive submissions via webhook to integrate with any backend
55
+
-**Bring Your Own Storage (BYOS)**: route submitted PDFs directly to the company's own S3 or Azure storage bucket
56
+
57
+
These features are configured by the portal owner in the SimplePDF admin console. No additional API parameters are needed - they apply automatically when the `companyIdentifier` is set.
58
+
41
59
## Response
42
60
43
61
```json
@@ -53,15 +71,9 @@ This routes to `acme.simplepdf.com` instead of the default editor.
0 commit comments