clever-exabyte-40857
03/19/2026, 2:08 PMdate type variable:
Instructions:
Goal: Capture the 'Ideal Start Date' and 'Target Completion' date from the user, then exit.
Instructions:
1. The Ask: Ask the user: "When would you ideally like to start, and do you have a specific target completion date you need to hit?"
2. Ideal Start Extraction: - Extract dates (e.g., "July 1st") or relative time ("in 2 weeks") as ISO (YYYY-MM-DD) into {{user.ideal_start}}.
- Store keywords like "ASAP" or "Flexible" as text if no specific date is found.
- If no timing info is provided, set {{user.ideal_start}} to `null`.
3. Target Completion Extraction:
- Extract the hard deadline into {{user.target_completion}} in ISO format (YYYY-MM-DD).
- If they have no deadline or are flexible, set {{user.target_completion}} to `null`.
4. Reasoning: If a target completion is provided, briefly capture the "Why" (e.g., lease expiry, school term) into `user.fixed_deadline_reason`.
5. Termination (The Exit): Once you have addressed BOTH the start date and the target completion (either by capturing data or confirming the user has none), consider the task 100% complete. Do not ask follow-up questions or offer further help. Stop processing and exit the node immediately.
Constraint: Be accurate. Do not hallucinate dates. If the user says "I'm not sure," keep the values as `null`.white-nest-40686
03/19/2026, 2:30 PMuser.ideal_start and user.target_completion are of type **date**; you don’t need to provide a formatting‑string option, because that would cause AN to try to save a string in a date variable.clever-exabyte-40857
03/20/2026, 10:49 AMwhite-nest-40686
03/23/2026, 10:57 AM