Homepage

ProcessStrategyInputType

Last edit: Nov 10, 2026

Generates the content of a legacy custom attachment from a body or a rendered page

type ProcessStrategyInputType {
  body: String
  file_name: String!
  page: ProcessPageInputType
  strategy: ProcessStrategy!
  synchronous: Boolean
}

Fields

body (String)

Content to process; what is expected depends on the strategy (usually text,
HTML, CSV, JSON or XML). Alternatively use page

file_name (String)

Name of the output file

page (ProcessPageInputType)

Page rendered to produce the body. Alternatively use body

strategy (ProcessStrategy)

How the body is turned into a file

synchronous (Boolean)

If true and the strategy processes the file in the background (like PDF
generation), the mutation waits (up to about 10 seconds) until the file is
available, e.g. to attach it to an email

Questions?

We are always happy to help with any questions you may have.

contact us