Activity refers to performing a single unit of work. Examples of activities include converting XML to JSON, reading blobs from Azure storage, and writing to a Cosmos DB document collection. Logic Apps is a workflow consisting of multiple co-related activities in a sequence. There are two types of activity in Logic Apps:
- Trigger: Triggers refers to the initiation of an activity. All logic apps have a single trigger that forms the first activity. It is the trigger that creates an instance of the logic app and starts the execution. Examples of triggers are the arrival of Event Grid messages, the arrival of an email, an HTTP request, and a schedule.
- Actions: Any activity that is not a trigger is a step activity, and they each perform one responsibility. Steps are connected to each other in a workflow.