Skip to main content
Answered

Workflow creating unwanted buttons

  • 12 June 2024
  • 1 reply
  • 20 views

I have a custom action that calls my api then stores that response in a custom object. It takes an id, and returns a json with a bunch of values I want to display as buttons. When I do this, I am getting more buttons than objects returned by the api, which I would guess come from previously created custom object instances. How can I make it so that the only buttons created are the ones from the associated custom action? I also have access to an id field that I could filter by, although I haven’t found a way to do so yet.

1 reply

Userlevel 3
Badge +4

Hi @William Freedman ! Ebenezer here from Engineering Support👋.

I believe you already an answer for this from my colleague, I’ll post the answer here for others to see.

There currently isn't a way to clear/reset existing custom objects from within the same conversation. As long as each object has a unique external_id, they would not overwrite the existing objects, and would instead continue to create a new custom object to be added to the others.

Screenshot+2024-05-03+at+2_49_26%E2%80%AFPM.png?expires=1718709300&signature=e5a7611d13644074203af94b8fa3b89a19d1b94148d2f37f60064eb41df75378&req=dSAjFsB8m4lZWfMW1HO4zRxEA26mdkgB6bzd7w%3D%3D%0A&resize=516x

Currently, for the custom objects to be reset, a new conversation would have to be created.

Hope this helps

Reply