Problem Summary
I’m trying to use AIP Logic to parse resume text and populate a Notepad template dynamically. However, I’ve hit some limitations that make this difficult.
Use Case
-
I have a Candidate object with a resume_extracted_text property (string)
-
I want to parse this text using AIP Logic and extract fields (name, email, skills, etc.)
-
I want to display these extracted fields in a Notepad template
Current Limitations
-
Notepad doesn’t accept struct output — It only accepts string output from AIP Logic functions
-
Only the final output variable is accessible — Intermediate variables in the logic are not available to reference in the Notepad template
Constraints
What I Expected
Ability to return a struct from AIP Logic and reference individual fields in the Notepad template like {{logicOutput.fullName}}, {{logicOutput.email}}, {{logicOutput.skills}}
Question
Is this a known limitation? Are there any workarounds or alternative approaches to achieve this?
Thanks!
Hi @roushan.kumar,
You’re correct that Notepad templates currently only accept string outputs from AIP Logic functions, not struct outputs. This means you cannot directly reference individual fields from a structured object like {{logicOutput.fullName}} or {{logicOutput.email}} in your template.
Recommended Workarounds
Based on similar use cases, here are some approaches you can consider:
1. Use Functions on Objects Widget with Markdown Formatting
You can create a function that takes your resume text as input and returns a formatted string (potentially using Markdown) that structures all the extracted fields. Then use the “Functions on Objects” widget in your Notepad template:
-
Configure the widget with your Candidate object as input
-
Set the function result format as “Markdown” to get rich text formatting
-
The function would parse the resume and return a formatted string containing all fields
2. Concatenate Struct Fields into a Single String
Within your AIP Logic flow, after extracting the structured data:
-
Create a final step that concatenates all the struct fields into a formatted string
-
Use string templates or formatting to create a readable output
-
Return this formatted string as the final output variable
3. TypeScript Function Wrapper
Create a TypeScript function that:
-
Calls your AIP Logic function as a subroutine
-
Processes the struct output
-
Returns a formatted string suitable for Notepad
The limitation you’ve encountered—only the final output variable being accessible—is indeed a current constraint. Direct struct-to-template field mapping is not yet available.
Hope this helps.
Thanks,
Sanjeeth
1 Like