🧩Step-by-Step Breakdown:
🗨️Trigger: "When chat message received"
--This node listens for incoming chat messages from the user, asking for a specific type of doctor on Facebook
🌐HTTP Request: "Searching from Apify"
--Sends a POST request to the Apify API to search Facebook for the type of doctor mentioned by the user (e.g., “best gynecologist in Sukkur”).
⏳Wait: "Gather result"
- Pauses the workflow until Apify completes the search.
- Outputs 5 result items from Facebook.
🧠Code in JavaScript: "Make structured output"
- Doctor’s name
- Timings
- Availability
- Location
✏️Edit Fields: "Required output"
--Get required output
📄Append row in sheet: "Saving results"
--Appends the final structured data into a connected Google Sheet for record-keeping.