I'm trying to create auto generate coupons in magento 2 but its showing as below:

Message is added to queue, wait to get your coupons soon

Any help will be appreciated?

  • can you set up cron? it will process using cron job Jun 15, 2020 at 11:19

3 Answers 3


try to manually process queue with this command

bin/magento queue:consumers:list

view a list of all consumers

bin/magento queue:consumers:start <queue_name>

pass queue_name for process the queue

  • Thanks. Working now
    – MagentoDev
    Jun 15, 2020 at 17:30
  • @Siva do you know what is the queue name for coupon ? Jan 27, 2021 at 11:06
  • @sumeetbajaj, try running this command, php bin/magento queue:consumers:start codegeneratorProcessor
    – MagentoDev
    Jan 27, 2021 at 11:34
  • @Siva when running these commands, but the output is not coming on command prompt Jan 27, 2021 at 11:42
  • 1
    hi @sumeetbajaj when display this "Message is added to queue, wait to get your coupons soon". it means it will be generate coupon code base on cron running, if you are not waiting for it and just create coupon code than run above command. Jan 27, 2021 at 11:54

Try running the following commands:

bin/magento cron:run
bin/magento queue:consumers:start codegeneratorProcessor

Run bin/magento queue:consumers:list you should see this:


After run bin/magento queue:consumers:start codegeneratorProcessor. Wait a couple of seconds and refresh the page to see the newly generated coupons.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.