Volver al catálogo

TemplateFox

templatefox

TemplateFox generates PDFs and images from templates, manipulates PDFs, manages template versions and S3 storage, and supports AI-assisted template authoring.

Acciones
24
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Queue 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

  • namestringObligatorio

    Name for the new image template (1-100 characters).

  • brandobject

    Optional nested brand guidance for colors, fonts, and public assets.

  • widthinteger

    Custom width in pixels (16-8000). Requires height and cannot accompany preset.

  • heightinteger

    Custom height in pixels (16-8000). Requires width and cannot accompany preset.

  • presetstringenum

    Standard output size. Provide this or both width and height, never both sizing methods.

    instagram-squareinstagram-storyog-imagetwitter-cardpinterest-pinsquare-512
  • instructionsstringObligatorio

    Detailed natural-language design instructions (10-4000 characters).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ImageTEMPLATEFOX_CREATE_IMAGEAcción

Generate 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

  • dataobject

    Template variables keyed by the template's declared fields.

  • widthinteger

    Output width in pixels (100-4000); height preserves aspect ratio.

  • formatstringenum

    Output image format.

    pngjpegwebp
  • qualityinteger

    JPEG or WebP quality from 1-100; ignored for PNG.

  • versionstring

    Optional template version tag or number (max 50 characters).

  • filenamestring

    Output filename using only letters, digits, underscore, period, and hyphen (max 100 characters).

  • store_s3boolean

    Store the image in configured S3-compatible storage instead of only returning a temporary URL. This is documented as Business-plan functionality.

  • s3_bucketstring

    Optional valid lowercase S3 bucket override when store_s3 is true.

  • expirationinteger

    Temporary URL lifetime in seconds (60-604800).

  • s3_filepathstring

    Optional S3 object path when store_s3 is true (max 500 characters).

  • template_idstringObligatorio

    Exactly 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PDFTEMPLATEFOX_CREATE_PDFAcción

Generate 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

  • dataobjectObligatorio

    Template variables keyed by fields declared on the template. Use LIST_TEMPLATE_FIELDS to discover the accepted fields.

  • versionstring

    Optional template version tag or number (maximum 50 characters).

  • filenamestring

    Output filename without .pdf; use only letters, digits, underscores, periods, and hyphens (maximum 100 characters).

  • store_s3boolean

    Store the PDF in configured S3-compatible storage instead of returning a temporary URL. This is documented as Business-plan functionality.

  • s3_bucketstring

    Lowercase destination bucket override when store_s3 is true. It must be a valid S3 bucket name.

  • expirationinteger

    Temporary URL lifetime in seconds (60-604800).

  • pdf_variantstringenum

    Optional archival PDF conformance variant.

    pdf/a-1bpdf/a-2bpdf/a-3b
  • s3_filepathstring

    Destination object path when store_s3 is true; use only letters, digits, underscores, periods, slashes, and hyphens.

  • template_idstringObligatorio

    Exactly 12-character ID of the PDF template.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PDF AsynchronouslyTEMPLATEFOX_CREATE_PDF_ASYNCAcción

Queue 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

  • dataobjectObligatorio

    Template variables keyed by the fields declared on the template.

  • versionstring

    Optional template version tag or number (max 50 characters).

  • filenamestring

    Output filename without .pdf (max 100 characters).

  • store_s3boolean

    Store the result in configured S3-compatible storage; documented as Business-plan functionality.

  • s3_bucketstring

    Optional valid lowercase S3 bucket override when store_s3 is true.

  • expirationinteger

    Result URL lifetime in seconds (60-604800).

  • pdf_variantstringenum

    Optional archival PDF conformance variant.

    pdf/a-1bpdf/a-2bpdf/a-3b
  • s3_filepathstring

    Optional S3 object path when store_s3 is true (max 500 characters).

  • template_idstringObligatorio

    Exactly 12-character ID of the PDF template.

  • webhook_urlstring

    Public HTTPS callback URL for job completion (max 2083 characters).

  • webhook_secretstring

    Secret used to HMAC-SHA256-sign webhook delivery; only valid with webhook_url. Treat this value as sensitive.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Template VersionTEMPLATEFOX_CREATE_TEMPLATE_VERSIONAcción

Create an immutable snapshot of an existing TemplateFox template with a unique lowercase tag.

Parámetros de entrada

  • tagstringObligatorio

    Unique lowercase version tag. Use letters or digits at both ends and only lowercase letters, digits, underscores, or hyphens inside.

  • descriptionstring

    Optional description of this immutable template snapshot.

  • template_idstringObligatorio

    Exactly 12-character ID of the template to snapshot.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete S3 ConfigurationTEMPLATEFOX_DELETE_S3_CONFIGAcción

Permanently 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Template VersionTEMPLATEFOX_DELETE_TEMPLATE_VERSIONAcción

Permanently delete one immutable template version. This is destructive and cannot be undone.

Parámetros de entrada

  • template_idstringObligatorio

    Exactly 12-character ID of the template whose version to delete.

  • version_numberintegerObligatorio

    Positive version number to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Extract PDF PagesTEMPLATEFOX_EXTRACT_PDF_PAGESAcción

Extract, reorder, or split selected pages from one PDF and return a temporary result URL. Successful extraction consumes 1 TemplateFox credit.

Parámetros de entrada

  • pagesstringObligatorio

    1-indexed page singles and ranges in the desired output order, for example '1-3, 5, 7-9'.

  • pdf_urlstringuri

    Public HTTPS URL of the source PDF. Provide exactly one PDF source: pdf_url or pdf_base64.

  • filenamestring

    Result filename without .pdf (maximum 100 characters).

  • expirationinteger

    Result URL lifetime in seconds (60-604800).

  • pdf_base64string

    Base64-encoded source PDF. Provide exactly one PDF source: pdf_base64 or pdf_url.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get AccountTEMPLATEFOX_GET_ACCOUNTAcción

Get the connected TemplateFox account identity and remaining credit balance without consuming credits.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Agent JobTEMPLATEFOX_GET_AGENT_JOBAcción

Get an authoring-agent job's status, resulting template ID, preview, charged credits, or failure details. Tier availability is unknown.

Parámetros de entrada

  • job_idstringObligatoriouuid

    UUID returned by CREATE_AGENT_TEMPLATE or REVISE_AGENT_TEMPLATE.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PDF JobTEMPLATEFOX_GET_PDF_JOBAcción

Get the status, result location, or failure details of an asynchronous PDF generation job.

Parámetros de entrada

  • job_idstringObligatorio

    UUID returned by CREATE_PDF_ASYNC.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get S3 ConfigurationTEMPLATEFOX_GET_S3_CONFIGAcción

Get 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Account TransactionsTEMPLATEFOX_LIST_ACCOUNT_TRANSACTIONSAcción

List 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

  • limitinteger

    Maximum transactions to return on this page (1-1000).

  • offsetinteger

    Zero-based result offset. Increase it by the number of returned transactions to fetch the next page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List PDF JobsTEMPLATEFOX_LIST_PDF_JOBSAcción

List asynchronous PDF generation jobs, optionally filtered by status, one offset page at a time.

Parámetros de entrada

  • limitinteger

    Maximum jobs to return on this page (1-100).

  • offsetinteger

    Zero-based result offset. Increase it by the number of returned jobs to fetch the next page.

  • statusstringenum

    Only return jobs in this state.

    pendingprocessingcompletedfailed

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Template FieldsTEMPLATEFOX_LIST_TEMPLATE_FIELDSAcción

List the dynamic variables a template accepts so an agent can construct valid generation data.

Parámetros de entrada

  • template_idstringObligatorio

    Exactly 12-character template ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Template LayersTEMPLATEFOX_LIST_TEMPLATE_LAYERSAcción

List addressable image-template layers and their modifiable properties for CREATE_IMAGE.

Parámetros de entrada

  • template_idstringObligatorio

    Exactly 12-character image template ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List TemplatesTEMPLATEFOX_LIST_TEMPLATESAcción

List PDF or image templates belonging to the connected TemplateFox team.

Parámetros de entrada

  • kindstringenum

    Only return templates of this kind.

    pdfimage

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Template VersionsTEMPLATEFOX_LIST_TEMPLATE_VERSIONSAcción

List immutable snapshots of a template, including version numbers and optional tags.

Parámetros de entrada

  • template_idstringObligatorio

    Exactly 12-character ID of the template whose versions to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge PDFsTEMPLATEFOX_MERGE_PDFSAcción

Concatenate 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[]Obligatorio

    PDFs to concatenate in order; each item must contain exactly one source.

  • filenamestring

    Result filename without .pdf (maximum 100 characters).

  • expirationinteger

    Result URL lifetime in seconds (60-604800).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Revise Template With AgentTEMPLATEFOX_REVISE_AGENT_TEMPLATEAcción

Queue 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

  • brandobject

    Optional nested brand guidance for the revision.

  • feedbackstringObligatorio

    Natural-language revision request (5-4000 characters).

  • template_idstringObligatorio

    Exactly 12-character ID of an existing account-owned image template.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rotate PDFTEMPLATEFOX_ROTATE_PDFAcción

Rotate 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_urlstringuri

    Public HTTPS URL of the source PDF; provide exactly one source field.

  • filenamestring

    Result filename without .pdf (maximum 100 characters).

  • rotationintegerenum

    Clockwise rotation applied to every page. Provide exactly one of rotation or page_rotations; 0 counts as provided.

    090180270
  • expirationinteger

    Result URL lifetime in seconds (60-604800).

  • pdf_base64string

    Base64-encoded source PDF; provide exactly one source field.

  • page_rotationsobject

    Map of positive 1-indexed page-number strings to clockwise rotations of 0, 90, 180, or 270. Mutually exclusive with rotation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Save and Test S3 ConfigurationTEMPLATEFOX_SAVE_S3_CONFIGAcción

Create 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_namestringObligatorio

    Lowercase S3 bucket name (3-63 characters). Use only letters, digits, periods, and hyphens; it must not resemble an IP address.

  • endpoint_urlstringObligatorio

    Absolute HTTPS endpoint of the S3-compatible service (10-200 characters).

  • access_key_idstringObligatorio

    Sensitive 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_prefixstring

    Default object-key prefix (maximum 500 characters). Use only letters, digits, underscores, periods, slashes, and hyphens.

  • secret_access_keystring

    Sensitive 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Template VersionTEMPLATEFOX_UPDATE_TEMPLATE_VERSIONAcción

Change or clear the tag and/or description metadata of a template version; the immutable snapshot content is not changed.

Parámetros de entrada

  • tagstring

    New lowercase tag, or null to clear it. Omit this field to leave the tag unchanged.

  • descriptionstring

    New version description, or null to clear it. Omit this field to leave the description unchanged.

  • template_idstringObligatorio

    Exactly 12-character ID of the template whose version to update.

  • version_numberintegerObligatorio

    Positive version number returned by listing or creating template versions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate S3 ConfigurationTEMPLATEFOX_VALIDATE_S3_CONFIGAcción

Validate 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not