Automated code delivery system

Hi, I’m selling some digital products that exist in the form of codes, emails, accounts,… I want to connect my website to Airtable.
When an order appears, the system will automatically send the order, get the code from the warehouse and send an email to the customer.
I have tried many ways but am still having difficulty. If you can help me please contact and quote me.