Is there a way to have a Logic App or something similar trigger when a tweet is posted by a list of users from Cosmos DB? So many choices and articles, they all show hardcoded search terms. I need some guidance :-)
Is there a way to have a Logic App or something similar trigger when a tweet is posted by a list of users from Cosmos DB? So many choices and articles, they all show hardcoded search terms. I need some guidance :-)
Hi @DavidMcCarter-5256, yes Logic App is one way to do it. You can try below steps to get the desired result through Azure Logic App:
1) Create New Logic App and provide a primary connection account:

2) Configure the next step in workflow by getting the usernames from all documents in collection. It will be good idea to save the username with '@' prefix, so to match the twitter account names:

3) Then we need to create another step and loop through the result set from prior step as below:

4) Finally, we can write the result by creating another document in the 'For Each' container.
Please let me know if this helps or any other information is needed.
If an Answer is helpful, please “Accept Answer” or Up-Vote for the same which might be beneficial to other community members reading this thread.
No one has followed this question yet.
LogicApp that returns newly generated ID back to original source
Having issues on parsing CosmosDB items into Azure Logic App Condition
Azure logic apps CosmosDB Upsert Error 409
Logic Apps and CosmosDB - Partition Key Troubles
Standard Logic App with Private Endpoint and vNet Integration - IPs getting Blocked 403 Forbidden