Dec 5, 2022 12:58 PM - edited Dec 5, 2022 12:59 PM
I'm using the crm card to create custom actions that return all the deals and with the return of those deals I create a card that has two YES and NO buttons. And when clicking on one of these buttons it should update a property of that business. How do I do this update using the serverlessFunction?
Dec 6, 2022 4:13 PM
From what I understand, you can use our public API to implement this by updating the property based on button clicks. You would have to trigger a serverless function based on button click that would then update the properties.
Dec 10, 2022 2:10 PM
Hi @HeitorSantos Action Hooks are no longer avaialble with the new version of cards. Thank you for bringing that to our notice and documentation is updated to reflect this too. You can use Serverless Action Hooks.
However for your particular problem, using POST with object API along with serverless action hook is the best way to go.