With the Sharepoint integration module you can create/updates a document in SharePoint online from the current workflow payload. Note that the size of the document to upload must be less than 4 MByte.
In order to use the SharePoint workflow component and other SharePoint functionality, Office 365 connection parameters have to be configured in tenant settings.
However, you first need to create an app registration in Azure Active Directory Admin Center: https://aad.portal.azure.com
You can read more about this app registration process on: https://docs.microsoft.com/en-us/graph/auth-register-app-v2
In InterFormNG2 tenant settings from the top navigation bar and scroll down to the section "Office 365":
As SharePoint tenant name, you need the tenant name for your SharePoint online account. If you access SharePoint with https://mytenant.sharepoint.com then your tenant name is "mytenant".
For the other three settings values, use the values that were created in the app registration process above.
You can use the "test connection" button to check if a connection can be established with these settings.
These are the related Sharepoint workflow components:
Sharepoint set column values. Sets column values to a document, that previously has been uploaded to Sharepoint.
To Sharepoint document library (simple). Uploads to a Sharepoint library on a Sharepoint online site.
To Sharepoint document library (with columns). Upload to a Sharepoint library with meta data values.
After you have uploaded document to sharepoint you can even embed files from Sharepoint in the embed file design element.