This question is probably a mix between PowerApps and Power Automate, but I was not sure where to ask it. I create an app using PowerApps that allows me to upload/create files in a SharePoint document library. I used a tutorial by Matthew Devaney, and everything works just fine. There are another bunch of tutorials that work as well. The issue now is that I've been asked to also being able to add Links the Document Library. I added the "Content Type, and I'm able to add links using the default way of adding files to a document library:

The issue is I need to add that link using a custom PowerApps app that adds more metadata to the file/link. I create the file using a flow, and I pass a few parameters from PowerApps. When I upload add attachment I trigger among other things:
OnAddFile:
Set(
theValue,
First(colAttachments).Value
);
Set(
theName,
First(colAttachments).Name
);
Then I have a button that triggers the flow, and passes the parameters:
OnSelect:
Set(responseFromFlow, CreateFile.Run(
{
contentBytes: theValue,
name: theName
},
title_2.Text,
description_2.Text,
category_2.Selected.Value,
docType_2.Selected.Type,
yearPub_2.Text,
ro_2.Selected.RO,
originalName,
linkField.Text //This is the field where the user will enter the url
).status);
My question is. If I'm creating a Link instead of an actual file, what would the contentBytes, and name be? I'm guessing the name could be created removing the "https://" portion of the URL and then:
linkField.Text &'.url'
I have no idea about the contentBytes.
This is a screen shot of a portion of the Flow:

Any lead would be appreciated. Thanks in advance.