TemplateFox
templatefoxTemplateFox generates PDFs and images from templates, manipulates PDFs, manages template versions and S3 storage, and supports AI-assisted template authoring.
Acciones disponibles (24)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create Template With AgentTEMPLATEFOX_CREATE_AGENT_TEMPLATEAcciónQueue TemplateFox's authoring agent to create an image template from natural-language instructions. This creates account data and costs 25 credits when queued; TemplateFox refunds the credits if the job fails.
TEMPLATEFOX_CREATE_AGENT_TEMPLATEAcciónQueue TemplateFox's authoring agent to create an image template from natural-language instructions. This creates account data and costs 25 credits when queued; TemplateFox refunds the credits if the job fails.
Parámetros de entrada
namestringObligatorioName for the new image template (1-100 characters).
brandobjectOptional nested brand guidance for colors, fonts, and public assets.
widthintegerCustom width in pixels (16-8000). Requires height and cannot accompany preset.
heightintegerCustom height in pixels (16-8000). Requires width and cannot accompany preset.
presetstringenumStandard output size. Provide this or both width and height, never both sizing methods.
instagram-squareinstagram-storyog-imagetwitter-cardpinterest-pinsquare-512instructionsstringObligatorioDetailed natural-language design instructions (10-4000 characters).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ImageTEMPLATEFOX_CREATE_IMAGEAcciónGenerate a PNG, JPEG, or WebP image from a TemplateFox image template and return a temporary URL or configured S3 location. This consumes 1 credit on success; failed rendering is documented as refunded. Binary output is not exposed.
TEMPLATEFOX_CREATE_IMAGEAcciónGenerate a PNG, JPEG, or WebP image from a TemplateFox image template and return a temporary URL or configured S3 location. This consumes 1 credit on success; failed rendering is documented as refunded. Binary output is not exposed.
Parámetros de entrada
dataobjectTemplate variables keyed by the template's declared fields.
widthintegerOutput width in pixels (100-4000); height preserves aspect ratio.
formatstringenumOutput image format.
pngjpegwebpqualityintegerJPEG or WebP quality from 1-100; ignored for PNG.
versionstringOptional template version tag or number (max 50 characters).
filenamestringOutput filename using only letters, digits, underscore, period, and hyphen (max 100 characters).
store_s3booleanStore the image in configured S3-compatible storage instead of only returning a temporary URL. This is documented as Business-plan functionality.
s3_bucketstringOptional valid lowercase S3 bucket override when store_s3 is true.
expirationintegerTemporary URL lifetime in seconds (60-604800).
s3_filepathstringOptional S3 object path when store_s3 is true (max 500 characters).
template_idstringObligatorioExactly 12-character ID of the image template.
modificationsobject[]Up to 100 layer edits. Use LIST_TEMPLATE_LAYERS to discover layer names and modifiable properties.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create PDFTEMPLATEFOX_CREATE_PDFAcciónGenerate a PDF synchronously from a TemplateFox template and return a temporary URL or configured S3 location. A successful generation consumes 1 credit; TemplateFox documents failed rendering as refunded. Binary output is intentionally not exposed.
TEMPLATEFOX_CREATE_PDFAcciónGenerate a PDF synchronously from a TemplateFox template and return a temporary URL or configured S3 location. A successful generation consumes 1 credit; TemplateFox documents failed rendering as refunded. Binary output is intentionally not exposed.
Parámetros de entrada
dataobjectObligatorioTemplate variables keyed by fields declared on the template. Use LIST_TEMPLATE_FIELDS to discover the accepted fields.
versionstringOptional template version tag or number (maximum 50 characters).
filenamestringOutput filename without .pdf; use only letters, digits, underscores, periods, and hyphens (maximum 100 characters).
store_s3booleanStore the PDF in configured S3-compatible storage instead of returning a temporary URL. This is documented as Business-plan functionality.
s3_bucketstringLowercase destination bucket override when store_s3 is true. It must be a valid S3 bucket name.
expirationintegerTemporary URL lifetime in seconds (60-604800).
pdf_variantstringenumOptional archival PDF conformance variant.
pdf/a-1bpdf/a-2bpdf/a-3bs3_filepathstringDestination object path when store_s3 is true; use only letters, digits, underscores, periods, slashes, and hyphens.
template_idstringObligatorioExactly 12-character ID of the PDF template.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create PDF AsynchronouslyTEMPLATEFOX_CREATE_PDF_ASYNCAcciónQueue PDF generation and return a job ID for polling. This charges 1 credit when queued and is documented to refund permanently failed jobs; webhook delivery is optional.
TEMPLATEFOX_CREATE_PDF_ASYNCAcciónQueue PDF generation and return a job ID for polling. This charges 1 credit when queued and is documented to refund permanently failed jobs; webhook delivery is optional.
Parámetros de entrada
dataobjectObligatorioTemplate variables keyed by the fields declared on the template.
versionstringOptional template version tag or number (max 50 characters).
filenamestringOutput filename without .pdf (max 100 characters).
store_s3booleanStore the result in configured S3-compatible storage; documented as Business-plan functionality.
s3_bucketstringOptional valid lowercase S3 bucket override when store_s3 is true.
expirationintegerResult URL lifetime in seconds (60-604800).
pdf_variantstringenumOptional archival PDF conformance variant.
pdf/a-1bpdf/a-2bpdf/a-3bs3_filepathstringOptional S3 object path when store_s3 is true (max 500 characters).
template_idstringObligatorioExactly 12-character ID of the PDF template.
webhook_urlstringPublic HTTPS callback URL for job completion (max 2083 characters).
webhook_secretstringSecret used to HMAC-SHA256-sign webhook delivery; only valid with webhook_url. Treat this value as sensitive.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Template VersionTEMPLATEFOX_CREATE_TEMPLATE_VERSIONAcciónCreate an immutable snapshot of an existing TemplateFox template with a unique lowercase tag.
TEMPLATEFOX_CREATE_TEMPLATE_VERSIONAcciónCreate an immutable snapshot of an existing TemplateFox template with a unique lowercase tag.
Parámetros de entrada
tagstringObligatorioUnique lowercase version tag. Use letters or digits at both ends and only lowercase letters, digits, underscores, or hyphens inside.
descriptionstringOptional description of this immutable template snapshot.
template_idstringObligatorioExactly 12-character ID of the template to snapshot.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete S3 ConfigurationTEMPLATEFOX_DELETE_S3_CONFIGAcciónPermanently remove the connected account's saved S3-compatible storage credentials. This destructive operation disables future S3 uploads and cannot be undone. S3 integration is documented as Business-plan functionality, and successful deletion was not live-verified.
TEMPLATEFOX_DELETE_S3_CONFIGAcciónPermanently remove the connected account's saved S3-compatible storage credentials. This destructive operation disables future S3 uploads and cannot be undone. S3 integration is documented as Business-plan functionality, and successful deletion was not live-verified.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Template VersionTEMPLATEFOX_DELETE_TEMPLATE_VERSIONAcciónPermanently delete one immutable template version. This is destructive and cannot be undone.
TEMPLATEFOX_DELETE_TEMPLATE_VERSIONAcciónPermanently delete one immutable template version. This is destructive and cannot be undone.
Parámetros de entrada
template_idstringObligatorioExactly 12-character ID of the template whose version to delete.
version_numberintegerObligatorioPositive version number to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Extract PDF PagesTEMPLATEFOX_EXTRACT_PDF_PAGESAcciónExtract, reorder, or split selected pages from one PDF and return a temporary result URL. Successful extraction consumes 1 TemplateFox credit.
TEMPLATEFOX_EXTRACT_PDF_PAGESAcciónExtract, reorder, or split selected pages from one PDF and return a temporary result URL. Successful extraction consumes 1 TemplateFox credit.
Parámetros de entrada
pagesstringObligatorio1-indexed page singles and ranges in the desired output order, for example '1-3, 5, 7-9'.
pdf_urlstringuriPublic HTTPS URL of the source PDF. Provide exactly one PDF source: pdf_url or pdf_base64.
filenamestringResult filename without .pdf (maximum 100 characters).
expirationintegerResult URL lifetime in seconds (60-604800).
pdf_base64stringBase64-encoded source PDF. Provide exactly one PDF source: pdf_base64 or pdf_url.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get AccountTEMPLATEFOX_GET_ACCOUNTAcciónGet the connected TemplateFox account identity and remaining credit balance without consuming credits.
TEMPLATEFOX_GET_ACCOUNTAcciónGet the connected TemplateFox account identity and remaining credit balance without consuming credits.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Agent JobTEMPLATEFOX_GET_AGENT_JOBAcciónGet an authoring-agent job's status, resulting template ID, preview, charged credits, or failure details. Tier availability is unknown.
TEMPLATEFOX_GET_AGENT_JOBAcciónGet an authoring-agent job's status, resulting template ID, preview, charged credits, or failure details. Tier availability is unknown.
Parámetros de entrada
job_idstringObligatoriouuidUUID returned by CREATE_AGENT_TEMPLATE or REVISE_AGENT_TEMPLATE.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PDF JobTEMPLATEFOX_GET_PDF_JOBAcciónGet the status, result location, or failure details of an asynchronous PDF generation job.
TEMPLATEFOX_GET_PDF_JOBAcciónGet the status, result location, or failure details of an asynchronous PDF generation job.
Parámetros de entrada
job_idstringObligatorioUUID returned by CREATE_PDF_ASYNC.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get S3 ConfigurationTEMPLATEFOX_GET_S3_CONFIGAcciónGet the connected account's S3-compatible storage configuration. S3 upload is documented as Business-plan functionality. The returned secret access key is masked and is not usable credential material.
TEMPLATEFOX_GET_S3_CONFIGAcciónGet the connected account's S3-compatible storage configuration. S3 upload is documented as Business-plan functionality. The returned secret access key is masked and is not usable credential material.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Account TransactionsTEMPLATEFOX_LIST_ACCOUNT_TRANSACTIONSAcciónList credit purchases, consumption, refunds, and bonuses one offset page at a time. Positive credit values mean credits consumed; negative values mean credits added.
TEMPLATEFOX_LIST_ACCOUNT_TRANSACTIONSAcciónList credit purchases, consumption, refunds, and bonuses one offset page at a time. Positive credit values mean credits consumed; negative values mean credits added.
Parámetros de entrada
limitintegerMaximum transactions to return on this page (1-1000).
offsetintegerZero-based result offset. Increase it by the number of returned transactions to fetch the next page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List PDF JobsTEMPLATEFOX_LIST_PDF_JOBSAcciónList asynchronous PDF generation jobs, optionally filtered by status, one offset page at a time.
TEMPLATEFOX_LIST_PDF_JOBSAcciónList asynchronous PDF generation jobs, optionally filtered by status, one offset page at a time.
Parámetros de entrada
limitintegerMaximum jobs to return on this page (1-100).
offsetintegerZero-based result offset. Increase it by the number of returned jobs to fetch the next page.
statusstringenumOnly return jobs in this state.
pendingprocessingcompletedfailed
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Template FieldsTEMPLATEFOX_LIST_TEMPLATE_FIELDSAcciónList the dynamic variables a template accepts so an agent can construct valid generation data.
TEMPLATEFOX_LIST_TEMPLATE_FIELDSAcciónList the dynamic variables a template accepts so an agent can construct valid generation data.
Parámetros de entrada
template_idstringObligatorioExactly 12-character template ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Template LayersTEMPLATEFOX_LIST_TEMPLATE_LAYERSAcciónList addressable image-template layers and their modifiable properties for CREATE_IMAGE.
TEMPLATEFOX_LIST_TEMPLATE_LAYERSAcciónList addressable image-template layers and their modifiable properties for CREATE_IMAGE.
Parámetros de entrada
template_idstringObligatorioExactly 12-character image template ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TemplatesTEMPLATEFOX_LIST_TEMPLATESAcciónList PDF or image templates belonging to the connected TemplateFox team.
TEMPLATEFOX_LIST_TEMPLATESAcciónList PDF or image templates belonging to the connected TemplateFox team.
Parámetros de entrada
kindstringenumOnly return templates of this kind.
pdfimage
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Template VersionsTEMPLATEFOX_LIST_TEMPLATE_VERSIONSAcciónList immutable snapshots of a template, including version numbers and optional tags.
TEMPLATEFOX_LIST_TEMPLATE_VERSIONSAcciónList immutable snapshots of a template, including version numbers and optional tags.
Parámetros de entrada
template_idstringObligatorioExactly 12-character ID of the template whose versions to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Merge PDFsTEMPLATEFOX_MERGE_PDFSAcciónConcatenate two or more PDFs in the supplied order and return a temporary result URL. Each successful merge consumes 1 TemplateFox credit.
TEMPLATEFOX_MERGE_PDFSAcciónConcatenate two or more PDFs in the supplied order and return a temporary result URL. Each successful merge consumes 1 TemplateFox credit.
Parámetros de entrada
pdfsobject[]ObligatorioPDFs to concatenate in order; each item must contain exactly one source.
filenamestringResult filename without .pdf (maximum 100 characters).
expirationintegerResult URL lifetime in seconds (60-604800).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Revise Template With AgentTEMPLATEFOX_REVISE_AGENT_TEMPLATEAcciónQueue TemplateFox's authoring agent to revise an existing image template from feedback. This irreversibly mutates account content and costs 10 credits when queued; TemplateFox refunds the credits if the job fails. Use a template ID returned by the list-templates tool because TemplateFox may return a server error when it cannot verify template access.
TEMPLATEFOX_REVISE_AGENT_TEMPLATEAcciónQueue TemplateFox's authoring agent to revise an existing image template from feedback. This irreversibly mutates account content and costs 10 credits when queued; TemplateFox refunds the credits if the job fails. Use a template ID returned by the list-templates tool because TemplateFox may return a server error when it cannot verify template access.
Parámetros de entrada
brandobjectOptional nested brand guidance for the revision.
feedbackstringObligatorioNatural-language revision request (5-4000 characters).
template_idstringObligatorioExactly 12-character ID of an existing account-owned image template.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Rotate PDFTEMPLATEFOX_ROTATE_PDFAcciónRotate all pages or selected pages in a PDF and return a temporary result URL. Each successful rotation consumes 1 TemplateFox credit.
TEMPLATEFOX_ROTATE_PDFAcciónRotate all pages or selected pages in a PDF and return a temporary result URL. Each successful rotation consumes 1 TemplateFox credit.
Parámetros de entrada
pdf_urlstringuriPublic HTTPS URL of the source PDF; provide exactly one source field.
filenamestringResult filename without .pdf (maximum 100 characters).
rotationintegerenumClockwise rotation applied to every page. Provide exactly one of rotation or page_rotations; 0 counts as provided.
090180270expirationintegerResult URL lifetime in seconds (60-604800).
pdf_base64stringBase64-encoded source PDF; provide exactly one source field.
page_rotationsobjectMap of positive 1-indexed page-number strings to clockwise rotations of 0, 90, 180, or 270. Mutually exclusive with rotation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Save and Test S3 ConfigurationTEMPLATEFOX_SAVE_S3_CONFIGAcciónCreate or update the connected account's S3-compatible storage credentials, then test access to the configured bucket. This sensitive Business-plan operation persists third-party credentials in TemplateFox. If validation fails, the credentials remain saved; credential values are never returned.
TEMPLATEFOX_SAVE_S3_CONFIGAcciónCreate or update the connected account's S3-compatible storage credentials, then test access to the configured bucket. This sensitive Business-plan operation persists third-party credentials in TemplateFox. If validation fails, the credentials remain saved; credential values are never returned.
Parámetros de entrada
bucket_namestringObligatorioLowercase S3 bucket name (3-63 characters). Use only letters, digits, periods, and hyphens; it must not resemble an IP address.
endpoint_urlstringObligatorioAbsolute HTTPS endpoint of the S3-compatible service (10-200 characters).
access_key_idstringObligatorioSensitive third-party S3 access key ID (16-128 characters). It is sent to and persisted by TemplateFox and is never returned by this action.
default_prefixstringDefault object-key prefix (maximum 500 characters). Use only letters, digits, underscores, periods, slashes, and hyphens.
secret_access_keystringSensitive third-party S3 secret access key (16-128 characters). Required for initial setup; omit it during an update to retain the saved secret. It is never returned by this action.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Template VersionTEMPLATEFOX_UPDATE_TEMPLATE_VERSIONAcciónChange or clear the tag and/or description metadata of a template version; the immutable snapshot content is not changed.
TEMPLATEFOX_UPDATE_TEMPLATE_VERSIONAcciónChange or clear the tag and/or description metadata of a template version; the immutable snapshot content is not changed.
Parámetros de entrada
tagstringNew lowercase tag, or null to clear it. Omit this field to leave the tag unchanged.
descriptionstringNew version description, or null to clear it. Omit this field to leave the description unchanged.
template_idstringObligatorioExactly 12-character ID of the template whose version to update.
version_numberintegerObligatorioPositive version number returned by listing or creating template versions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate S3 ConfigurationTEMPLATEFOX_VALIDATE_S3_CONFIGAcciónValidate that TemplateFox can access and write a small test object to the configured S3-compatible bucket without changing the saved credentials. Use this after SAVE_S3_CONFIG reports that credentials were saved but validation was interrupted. S3 integration is documented as Business-plan functionality.
TEMPLATEFOX_VALIDATE_S3_CONFIGAcciónValidate that TemplateFox can access and write a small test object to the configured S3-compatible bucket without changing the saved credentials. Use this after SAVE_S3_CONFIG reports that credentials were saved but validation was interrupted. S3 integration is documented as Business-plan functionality.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not