Requirement: Users from a website will share products to their friends. On this event i want to send two emails to user(for letting him know what he has shared) and his family members(for letting them know that they have been shared some products)
Approach: I have created two triggered sends in Marketing Cloud and triggering them using REST api call from Apex Trigger using the Future method.
Problem: On every API request i am getting the success response from Marketing Cloud but only the first case is getting queued in the triggered sends. If the user has provided the emailid's of two family members separated by comma (firstname.lastname@example.org, email@example.com) then i am making two callout. Third would be for the user itself for sharing the products. In this case only one request is getting queued, while all three requests get success response as queued from marketing cloud.
Any help would be appreciated. Thanks!