Skip to content

AI: Generate text

This service task generates text based on provided instructions. Optionally, context (background information) and tone can be specified.

Technical name: prio_aiGenerateText


Input

Field Type Required Description
instructions String Yes Instructions describing what text to generate.
context String No Background information or data to incorporate.
tone String No Desired tone (e.g. formal, informal, friendly, professional).

Input example

{
  "instructions": "Write a polite reminder email to the customer that the invoice is 14 days overdue.",
  "context": "Customer: Müller GmbH, Invoice no.: 2024-001, Amount: EUR 1,500.00, Due date: 2026-02-01",
  "tone": "formal"
}

Output

Field Type Description
text String The generated text.

Output example

{
  "text": "Dear Sir or Madam,\n\nWe would like to kindly remind you that invoice no. 2024-001 for EUR 1,500.00 has been due since February 1, 2026. We kindly ask you to settle the outstanding amount at your earliest convenience.\n\nBest regards"
}

Use cases

  • Payment reminders — Generate dunning letters and reminders from invoice data
  • Confirmation emails — Order confirmations, appointment confirmations
  • Report texts — Turn structured data into narrative text
  • Text templates — Standard responses based on inquiry categories
  • Meeting minutes — Convert notes into formal protocol entries

Notes

  • The generated text is written in the same language as the instructions.
  • If no tone is specified, a professional and clear style is used.
  • The context information is used as background knowledge without being quoted directly.
  • The service makes up to three attempts to produce a valid response.