Table of Contents
This quick start creates a summary after a visitor submits a form.
1. Prepare The Form #
Add:
- A Paragraph field named Details for the visitor’s answer.
- A Paragraph or Hidden field named AI Summary for the generated result.
Save the form.
2. Create The Feed #
- Open Form Settings -> AI Text.
- Select Add New.
- Enter a recognizable feed Name, such as
Summarize details. - Leave Model at its recommended listed model.
- Set Max Tokens to
300for a short summary. - In System Prompt, enter:
Write concise, factual summaries. Do not add information that is not present in the submission. - In User Prompt, enter
Summarize the following in two or three sentences:and use the merge-tag button to insert the Details field. - Leave Output Mode set to Single target field.
- Choose AI Summary as the Target Field.
- Choose After form submission as the trigger.
- Choose Synchronous for this first test.
- Save the feed.
3. Test It #
Submit the form with a realistic Details value. Open the resulting entry and confirm that AI Summary contains the generated response.
If the field is empty, check the entry notes, confirm the feed is Active, and test the Anthropic key under GravityOps -> AI Feed -> Credentials.
Next Choices #
- Use Async when the confirmation does not need the result immediately and generation may take longer.
- Add conditional logic when only some entries should generate text.
- Use JSON multi-field mapping when one response should populate several fields.
- Use a frontend button trigger when visitors should see or revise text before submission.