Ghostsign Actions icon

Ghostsign Actions

Ghostsign automation helpers covering signing delivery, previews, embeddings, SMTP, AI fill, chat with project, and webhooks.

Templates › Ingest From Google Doc

AI-generated

Summary

Ingest a Google Doc into a Ghostsign template, creating a new template or refreshing an existing one based on the selected mode.

Inputs

  • organizationIdUpsert — Organization name or ID to associate with the ingest; can be an expression.
  • ingestMode — Selects ingest behavior: 'create' to make a new template or 'refresh' to update an existing template.
  • ingestTemplateId — Template ID to refresh when ingestMode is 'refresh'; required for that mode.
  • ingestDocUrl — Direct URL of the Google Doc to ingest when ingestMode is 'create'.
  • ingestDocumentId — Google Document ID to ingest when ingestMode is 'create'; can be used instead of URL.
  • ingestDisplayName — Optional display name for the newly created template.

Output shape

A single JSON object representing the ingest result (e.g., the created/updated template's details as returned by Ghostsign).

The response contains the full API payload; fields are optional and depend on the operation. No pagination; errors are handled by the node's error handling.

Examples

Example 1: Create a new template from a Google Doc URL

Set ingestMode to 'create', provide ingestDocUrl with the Google Doc URL, optionally set ingestDisplayName and organizationIdUpsert.

Example 2: Refresh an existing template

Set ingestMode to 'refresh', provide ingestTemplateId and organizationIdUpsert; optionally provide ingestDisplayName.

Example 3: Refresh using a Document ID

Set ingestMode to 'refresh', provide ingestDocumentId (and optionally ingestTemplateId) to update the template.

Links

Discussion