Skip to main content
Answered

Why in custom actions, the request to the API endpoint is not triggered when last name is missing?


I have a custom action which is executed at the end of a custom bot flow. It sends a Post Request to an API endpoint with the details above. If the user inputs only first name, e.g. “Andrew” in the “Full Name” field then the API call is never triggered. Any solution for this? or is there a way to validate the “Full Name” field and ask the user to also input their last name? Thanks

Best answer by mateusz.leszkiewicz

Hi LuscatiRich TruCameron Finney, It’s Mat from the Support Engineering Team 😀

Simply reach out to us via Intercom Messenger in your workspace and we can turn this feature for you.

View original
Did this topic help you find an answer to your question?

5 replies

Racheal
Intercom Team
Forum|alt.badge.img+5
  • Customer Support Engineer
  • 512 replies
  • April 27, 2023

Hey @Andreas Mamplekos Racheal from the support engineer team here👋

 

It looks like you’ve worked this out with my teammate Aparna, I’ll add the context here for future viewers! We were seeing the following error : Error occurred validating request values. This typically gets flagged when you try to pass empty values as part of your custom action set up.

You mentioned that it fails if the user doesn't enter the last name and this is expected because you cannot send empty values in the custom action. We have a feature flag to by pass this check which solved things!


Hi @Racheal - you mentioned there is a feature flag to support missing/null values here? How do I get this set up?


  • New Participant
  • 1 reply
  • August 16, 2024

@Racheal I’m also curious about getting this setup so that not every ticket attribute is mandatory for my custom action. How do I get this setup?


  • New Participant
  • 1 reply
  • August 17, 2024
Rich Tru wrote:

@Racheal I’m also curious about getting this setup so that not every ticket attribute is mandatory for my custom action. How do I get this setup?

I am also very curious about it


mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+5

Hi LuscatiRich TruCameron Finney, It’s Mat from the Support Engineering Team 😀

Simply reach out to us via Intercom Messenger in your workspace and we can turn this feature for you.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings