I need to create an API that, when hit:
- Loads data from the database grouped by one of the fields
- For each hit from step 1, loads the first 3 items of that group
- Sends an email with the details of each item
Is there any way to accomplish this?
I need to create an API that, when hit:
Is there any way to accomplish this?
I think you can use recursive APIs. i think you need 2 APIs
API1
load data (list of things) and send it to API2:
API2
(NB: you could use first item instead of item#1, but for a whole set of reasons, you should use item#1.)
I’ve struggled with this a while back and documented my learning: Schedule API workflow on a list - does the list have a limit?
Maybe I’m missing something, but I don’t see a way to load a list of things. What I see:
Is it “copy a list of things”?