Use Google Gemini with Postedly
Connect the sender through OAuth
Implement Postedly’s public-client flow with an exact HTTPS callback, S256 PKCE and browser consent. Keep the connected owner’s credentials in your application’s secure runtime.
Postedly connection and file-transfer guideDefine and execute sending functions
Expose narrow tools for available services, document upload, quotes and order status. Validate the model’s arguments and execute the corresponding Postedly requests in your application.
Read the HTTP API schemaReturn the quote and review link
Give the model structured results while presenting the final proof and total to the user. Keep checkout approval separate from document generation.
Give it a specific request
Turn an approved record into a mailed letter
Let your application assemble the final PDF and pass a private artifact reference to its sending tool.
Prepare a mailing quote for the approved welcome letter and address in this record. Use the final PDF, show me the proof and total, and wait before checkout.
Transfer your file
Your backend reads the real artifact and sends multipart bytes to /api/documents with the same owner’s OAuth token. Verify the returned checksum. An MCP-capable runtime can instead use the direct upload tool. Model-generated text, local paths and Gemini file references do not automatically transfer a document to Postedly.
- For a letter or fax, prepare a valid, unencrypted PDF no larger than 10 MiB (10,485,760 bytes). Review the saved PDF after exporting it from the draft.
- For mail, have the recipient’s full US postal address and your US sender address ready. For fax, confirm the receiving US fax number and your US billing address. Check the selected service’s page and layout limits before quoting.
- Review the final proof returned with the quote, including any added cover or postal layout. An upload preview alone does not establish that the final document is ready to send.
Mail a check
Google Gemini can prepare a paper check drawn on your own verified US checking account. The assistant never sees your account numbers and can’t sign or pay; those steps stay with you.
Set up checks once, yourself
Open Postedly’s check page in your browser, verify your email and connect your checking account. You’ll verify it with Plaid, confirm you can sign for it, set a bank passkey and save your signature.
Set up checksAsk Google Gemini for the check
Give the payee’s exact name and US mailing address, the amount and an optional memo. Using Postedly’s check tools, Google Gemini reads your ready accounts and drafts the check, which reserves its number and prepares a service-fee quote. Nothing is signed, charged or sent.
Review, sign and pay
Open the private review link it gives you. Check the full proof, confirm with your passkey, sign and pay the service fee. The check amount is paid from your account only when the payee deposits it.
Follow the order
Google Gemini can read the order to see when the check is printed and mailed. Postedly can’t see when it clears; your bank shows that.
Mail a $250 check to Riverside Little League, 400 Park Rd, Dayton, OH 45402, from my checking account. Memo: Spring registration. Send me the link to review and sign it.
If Google Gemini doesn’t show Postedly’s check tools, reconnect Postedly or refresh its tools, or write the check yourself on Postedly.
Your approval comes before the send
Uploading and quoting never pay or send. After the user chooses to proceed, present Postedly’s browser review link and hosted Stripe Checkout. Function execution is not a substitute for order approval, and native Gemini payment is not claimed.
Cancellation and refund policyFollow the existing order
Store the returned order ID and expose a read-only status function. Keep payment and fulfillment distinct, and reconcile the existing order before retrying an uncertain operation.
Check an order on PostedlySend directly on Postedly
You can use the finished document without connecting an assistant. Download the approved PDF, open Postedly, choose an available service and upload the file. Enter the destination and sender details, then review the final proof and full price before payment. You do not need your own printer or envelopes to mail a PDF through Postedly.
Before you start
- This is a custom integration for Gemini-powered applications, not a ready-made Gemini app or CLI connection. You own tool execution, credential storage and access controls. Postedly accepts files up to 10 MiB under the selected service’s rules; client-specific OAuth and file access still require testing.
Official references
Use these platform references alongside the Postedly guide.