Hi @RaulPatcas ,
Please find the steps.
1.Create the item in the list with the required metadata.
2.Get the image file that you want to add to the item.
3.Add the image as an attachment to the list item using the Add attachment action from the SharePoint connector. Specify the list name, the item ID, the file name, and the file content from the previous step.
4.Update the list item to point the image column to the attachment using the Send an HTTP request to SharePoint action from the SharePoint connector.
Use the following parameters:
Method: POST
Uri: _api/web/lists/getbyid (‘dab0b4b8-5e35-4e4c-b13c-23364b4bfa0d’)/items (@ {triggerBody ()? [‘ID’]})
Headers: Content-Type: application/json;odata=verbose accept: application/json;odata=verbose X-HTTP-Method: MERGE If-Match: *
Body: { “__metadata”: { “type”: “SP.Data.ProductsListItem” }, “Title”: “@{outputs(‘Create_item’)?[‘body/Title’]}”, “Image”: “{\“fileName\”:\“sculpt.png\”}” }
(Note:- if you got your solution you can mark as solution and gives kudos)
Thanks & Regards
Vishnu Reddy