Quickstartintermediate15 minutes
Add an AI action
Add an AI action that summarizes an application record, validates the model response, and stores a useful structured result safely.
What you will build#
A Summarize action that stores a short summary and generation time on a record.
Before you begin#
Use an application with a text-heavy record such as a customer note or support request.
1. Ask Codex to add the action#
Open Build and enter:
Add a Summarize action to this record.
Return a summary no longer than 80 words as structured output.
Store the summary and generation time. Preserve the previous summary if inference fails.
Show a useful error and log the outcome without logging the full input.
2. Run the action#
Open a record with text and select Summarize.
3. Verify the result#
Reload the record. Confirm that the summary and generation time remain. Open Dev logs and confirm the request completed without exposing the input text.
Next steps#
Read Use structured output.