API Process Model

Hello all, can you help me out, i’m trying to build a model where I can trigger via api call on postman and pass a payload to it, and use that payload in the model to decide on an action to take, is this possible and how can I achieve it, thanks