Okay
  Public Ticket #4531135
Bulk payout import & agent email notification
Open

Comments

  • Marcus started the conversation

    Hi Stefan,

    I’d like to check if it’s possible to bulk import payouts in SalesKing and still trigger the payout email notification to agents. I have quite many agents, hence it will be easier if I can bulk import the payout directly. 

    Thanks

  •  2,636
    WebWizards replied

    Hi Marcus,

    Thanks for reaching out.

    SalesKing doesn't currently have a built-in feature for bulk importing payouts, but it's something we'll consider adding in the future.

    That said, if you'd like to approach this programmatically, it's definitely possible. Here's a function that can send a payout programmatically:

    https://pastecode.io/s/phbo345i

    You'd just need to replace the variables at the top (user ID, amount, etc.) for each payout.

    One approach would be to use AI to help you create a custom importer tool that takes a CSV file and processes each row using that function. This should still trigger the payout emails to your agents as expected.

     

    Kind regards,
    Stefan