Custome action with api

Thank you so much it is working now