|
4 | 4 | <tr> |
5 | 5 | <td><b>5 minutes read</b></td> |
6 | 6 | <td style={{ paddingLeft: '40px' }}><b>Level: Advanced</b></td> |
7 | | - <td style={{ paddingLeft: '40px' }}><b>Last Updated: October 2025</b></td> |
| 7 | + <td style={{ paddingLeft: '40px' }}><b>Last Updated: December 2025</b></td> |
8 | 8 | </tr> |
9 | 9 | </table> |
10 | 10 | </h3> |
@@ -40,22 +40,31 @@ With GPT’s image processing abilities, Glific makes it easy to automate tasks |
40 | 40 |
|
41 | 41 |
|
42 | 42 | #### Step 2: Add a Webhook Node to Process the Image |
43 | | -- Select the `function` from the dropdown. |
44 | | -- In the function field, enter `parse_via_gpt_vision`, this function name is pre-defined. |
| 43 | +- By default, `Function` would be selected. Leave this as it is. |
| 44 | + |
| 45 | +<img width="472" height="393" alt="Screenshot 2025-12-03 at 10 17 55 AM" src="https://github.com/user-attachments/assets/205719e3-7944-4553-ac0b-4880e8e94709" /> |
| 46 | + |
| 47 | +- In the `FUNCTION` field, select the pre-defined function `parse_via_gpt_vision`, from the dropdown. |
| 48 | + |
| 49 | +<img width="505" height="419" alt="Screenshot 2025-12-03 at 10 18 49 AM" src="https://github.com/user-attachments/assets/cee6867c-aa07-4e32-9807-3147bdd2819e" /> |
| 50 | + |
45 | 51 | - Give the webhook result name - you can use any name. In the screenshot example, it’s named `gptvision`. |
46 | 52 |
|
47 | | -<img width="493" height="408" alt="Screenshot 2025-09-29 at 1 46 28 AM" src="https://github.com/user-attachments/assets/1162f959-f923-4f5d-9214-3337456e8bda" /> |
| 53 | +<img width="521" height="433" alt="Screenshot 2025-12-03 at 10 19 10 AM" src="https://github.com/user-attachments/assets/5a24d170-ec31-4ecf-bf87-ac5d782752f0" /> |
48 | 54 |
|
49 | 55 | --- |
50 | 56 |
|
51 | 57 | <img width="504" height="553" alt="Screenshot 2025-09-29 at 1 46 58 AM" src="https://github.com/user-attachments/assets/b398e16c-5a6b-48ac-8c16-680c30728690" /> |
52 | 58 |
|
53 | 59 |
|
54 | 60 | #### Step 3: Add Parameters in Function Body |
55 | | -- Click on `Function Body` and pass the parameters as shown in the below screenshot. |
| 61 | +- Click on `FUNCTION Body` on the top right corner. You would see the following. |
| 62 | + |
| 63 | +<img width="490" height="345" alt="Screenshot 2025-12-03 at 10 20 35 AM" src="https://github.com/user-attachments/assets/3a4d0248-7f0f-4921-ba91-1b7119b0ddb4" /> |
56 | 64 |
|
57 | | -<img width="493" height="343" alt="Screenshot 2025-09-29 at 1 51 22 AM" src="https://github.com/user-attachments/assets/cfafbb40-04da-4321-9cf8-d457ff08835e" /> |
| 65 | +- Pass the parameters as shown in the below screenshot. |
58 | 66 |
|
| 67 | +<img width="493" height="343" alt="Screenshot 2025-09-29 at 1 51 22 AM" src="https://github.com/user-attachments/assets/cfafbb40-04da-4321-9cf8-d457ff08835e" /> |
59 | 68 |
|
60 | 69 | - `Url`: in this field pass the flow variable accepting the image response from the user (In the given example `image` is the result name). |
61 | 70 | - `prompt`: in this field pass the prompt, or instructions you wish to convey to the AI model towards processing the image input. |
|
0 commit comments