Salesforce Apex Invocable Methods - Part 3: Screen Flow + Callout Demo | Real API Example

Опубликовано: 18 Июнь 2026
на канале: Code With Sally
360
10

🚀 *Salesforce Apex Invocable Methods - Part 3* is here!

In this intermediate Apex session, we build a *real-world Screen Flow* that calls an *external REST API* using an *Invocable Method* and a previously created **Callout Utility**. The challenge? Let users enter multiple country names and return full details like region, capital, Google Maps URL, etc. — all inside the flow using an Apex callout!

We walk through:
✅ Reviewing the API in Postman and the Callout Utility in Apex
✅ Building an Invocable Method that calls the API
✅ Designing a Screen Flow to collect country names and show results
✅ Answering community questions on Invocable Method categories, sub-categories, and Flow UI design

💡 Great practical example combining Apex, Callouts, and Flows!

🧠 **Level**: Intermediate

👀 Coming Up:
👉 Watch out for a *short upcoming video* showing how *Winter ’26* lets you eliminate the *Transform element* by using *Apex-defined variables directly in Data Tables* inside Screen Flows — a big simplification!
👉 Next full session: We’ll explore how to use *Invocable Methods* from **Prompt Templates**. Don’t miss it!

📂 GitHub Source Code:
🔗 https://github.com/CodeWithSally/Code...

📺 Watch Part 1:    • Salesforce Apex: Invocable Methods Part 1 ...  
📺 Watch Part 2:    • Salesforce Apex Invocable Methods - Part 2...  
📺 Full Intermediate Series Playlist:    • Learn Salesforce Apex with Sally | Interme...  

---

⏱️ *Timestamps*
00:00 Welcome & Channel Overview
02:17 Recap of Part 1 & 2
03:58 Challenge Overview & Screen Flow Plan
09:51 Postman Demo of the API + Callout Utility Review
15:31 Building the Invocable Method (with Q&A)
34:30 Building the Screen Flow + Fixing Apex Issues
56:22 Testing Screen Flow on Homepage
57:14 Winter ’26 Heads Up: Apex-Defined Variables in Data Tables
59:12 Q&A: Invocable Method Categories & Sub-Categories
1:01:31 Q&A: Designing the UI for Flow
1:09:00 Session Wrap-Up & What’s Next

---

🔔 Don’t forget to *like**, **comment**, and **subscribe* for weekly Apex videos in English and Arabic.

🌐 Also check out:
Yalla Salesforce:    / @yallasalesforce  
Agentforce Now: https://developer.salesforce.com/agen...

#Salesforce #Apex #InvocableMethod #SalesforceFlow #ScreenFlow #Callout #RESTAPI #SalesforceDeveloper #CodeWithSally #salesforcetutorial
=============================================================
Music I Use: https://www.bensound.com/free-music-f...
License code: WNBGZ5GCVI31UWUW
Artist: : Benjamin Tissot

Royalty Free Music: https://www.bensound.com
License code: 4QFFRFSFEQMWCPBB
Artist: : Benjamin Tissot