Improved create or get endpoint logic in sending and receiving actions