In this tutorial from Pragmatic Works, Jonathon Silva walks viewers through a beginner-friendly introduction to using the HTTP action within Power Automate. By leveraging the official Joke API from GitHub, Jonathon demonstrates how to fetch a random joke and send it to Microsoft Teams using a flow. This practical example not only showcases the HTTP action but also how to parse and utilize data returned from external APIs.
The main goal of the flow is to retrieve a random joke from the GitHub-hosted Joke API and post both the setup and punchline to a user’s Teams chat. The flow is triggered manually and requires the user to input an email address, which determines the Teams recipient.
Email input field to specify the Teams recipient.HTTP action (a premium connector). The request uses the GET method to call the Joke API URL, returning a random joke in JSON format.Parse JSON action is added. A sample payload is copied from the HTTP output and used to generate the schema.Delay action is inserted to create a pause between the setup and punchline messages.setup and punchline) from the API response.After assembling the flow, Jonathon tests it by sending the request to Teams. The result? A quick icebreaker joke—“How do you make a tissue dance? Put a little boogie in it.” This confirms the flow is functioning correctly, retrieving external data and delivering it to Microsoft Teams with ease.
This video illustrates how approachable HTTP requests in Power Automate can be. By combining basic API integration with flow actions like Parse JSON and Teams messaging, users can build powerful workflows even with light programming knowledge. As Jonathon emphasizes, all it takes is knowing the endpoint, what data you’re retrieving, and how you want to use it.
Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Power Automate and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks.