Skip to main content

I’ve created a Fin AI custom action that calls an API endpoint which returns the following response: 

{
"shiftDate": "2024-09-24",
"company": "Global Solutions",
"hourlyRate": "$20.11",
"location": "https://www.google.com/maps?q=-56.464281,-27.830251"
}

 I have a workflow defined that allows users to type in their questions. However, when I ask:

  • "When is my next shift?"
  • "What's the hourly rate for my next shift?"

Fin successfully triggers the custom action, but it doesn't generate an answer. Instead, it says it couldn't find any answer for the question.

What am I doing wrong?

update: I got it working by defining a snippet for the answer. 


Reply