Lansweeper
Query Lansweeper cyber asset inventory, installed software, vulnerabilities, reports, and real-time site events.
Connectors
Choose the connector that matches your authentication method. The options below use the names shown in StackAI.
Lansweeper
Personal Access Token
Lansweeper
Connect to Lansweeper with a personal access token to query authorized sites, asset inventory, software, vulnerabilities, reports, and asset events.
Set up in Lansweeper
Prepare the Lansweeper account or service that the workflow will access. Grant access to the required resources and operations.
Personal Access Token: Create a Personal Access Token under Account settings > Developer tools > API clients, select every site this connection should access, and paste it here.
Set up in StackAI
Open Settings → Connections, add a connection, and select Lansweeper.
Enter the credentials and connection details in the fields below.
Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.
Connection fields
Personal Access Token
Yes
Create a Personal Access Token under Account settings > Developer tools > API clients, select every site this connection should access, and paste it here. Provider instructions.
Verify the connection
Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.
If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.
Use an action
Add the required Lansweeper action to the workflow.
Select a connection when the action requests one.
Complete the required fields. Use the reference picker when a value comes from another workflow step.
Run the workflow and inspect the action’s output. Check the result before using it in a later step.
Actions
List Sites
List the Lansweeper sites this connection is authorized to access.
Inputs
No input fields are required in this catalog entry.
Outputs
Sites
object_array
Authorized sites with their IDs and names.
Site Count
integer
Number of authorized sites returned.
Query Assets
Find discovered assets in a Lansweeper site with common inventory filters.
Inputs
Site
select (string)
Yes
Site whose discovered assets should be queried. Options load from the selected connection.
Asset
select (string)
No
Optionally query one exact asset by selecting it. Options load from the selected connection.
Asset Name Contains
string
No
Only include assets whose name contains this text.
Asset Type
string
No
Only include assets with this Lansweeper asset type.
Show Advanced Filters
boolean
No
Reveal additional inventory filters and the continuation cursor. Default: false.
State
string
No
Only include assets in this custom state.
Manufacturer
string
No
Only include assets from this manufacturer.
Model
string
No
Only include assets with this model.
Domain
string
No
Only include assets in this domain.
IP Address
string
No
Only include the asset with this IP address.
Serial Number
string
No
Only include the asset with this serial number.
Last Seen After
datetime
No
Only include assets seen after this date and time.
Maximum Assets
integer
No
Maximum number of matching assets to return. Minimum: 1. Default: 100.
Cursor
string
No
Continue a previous asset query from its next cursor.
Outputs
Assets
object_array
Matching assets with useful inventory details.
Returned Count
integer
Number of assets returned in this call.
Total Matches
integer
Total matching assets when Lansweeper provides it.
Next Cursor
string
Cursor for continuing the same query.
Has More
boolean
Whether more matching assets are available.
Get Asset Software
Get the software installed on a discovered asset.
Inputs
Site
select (string)
Yes
Site containing the asset. Options load from the selected connection.
Asset
select (string)
Yes
Asset whose installed software should be listed. Options load from the selected connection.
Show Advanced Sorting
boolean
No
Choose a different software sort field or direction. Default: false.
Sort By
select (string)
No
Software field used to sort the results. Available values: Name, Publisher, Version, Install Date, Last Changed. Default: softwares.name.
Sort Direction
select (string)
No
Ascending or descending software sort order. Available values: Ascending, Descending. Default: ASC.
Outputs
Software
object_array
Installed software records for the asset.
Software Count
integer
Number of installed software records.
More Software Available
boolean
Whether Lansweeper reported more software than it returned.
Get Asset Vulnerabilities
Get known vulnerabilities and risk details for one discovered asset.
Inputs
Site
select (string)
Yes
Site containing the asset. Options load from the selected connection.
Asset
select (string)
Yes
Asset to assess for known vulnerabilities. Options load from the selected connection.
Maximum Vulnerabilities
integer
No
Maximum number of enriched vulnerability findings to return. Minimum: 1. Default: 200.
Cursor
string
No
Continue a previous vulnerability enrichment call.
Outputs
Asset Key
string
Asset key that was assessed.
Vulnerabilities
object_array
Known vulnerability findings tied to the asset.
Asset CVE Count
integer
Number of distinct CVEs Lansweeper linked to the asset.
Enriched Count
integer
Number of enriched vulnerability findings returned.
Truncated
boolean
Whether more matching findings remain after this call.
Next Cursor
string
Cursor for continuing vulnerability enrichment.
List Reports
List reports exposed to the Lansweeper Data API for a site.
Inputs
Site
select (string)
Yes
Site whose API-exposed reports should be listed. Options load from the selected connection.
Outputs
Reports
object_array
Reports available through the Data API.
Report Count
integer
Number of API-exposed reports returned.
Export Inventory Report
Export a Lansweeper report and return its download URL.
Inputs
Site
select (string)
Yes
Site containing the report. Options load from the selected connection.
Report
select (string)
Yes
API-exposed report to export. Options load from the selected connection.
Export Size
select (string)
No
Export the latest 10,000 rows or request every row. Available values: Latest run, up to 10,000 rows, All rows. Default: latest.
Existing Export ID
string
No
Resume checking an all-rows export that is already running.
Maximum Wait
integer
No
Maximum time to wait for an all-rows export to finish. Minimum: 0. Maximum: 300. Default: 60.
Outputs
Report ID
string
ID of the exported report.
Export ID
string
ID of the all-rows export when one was requested.
Status
string
Current export status.
Requested At
datetime
When the full export was requested.
Completed At
datetime
When the full export completed.
Download URL
string
URL for downloading the report CSV when ready.
Complete
boolean
Whether the report download URL is ready.
Triggers
A trigger starts a workflow when its configured event occurs. Configure the event and filters before enabling the trigger.
On Asset Event
Start a workflow when Lansweeper discovers, updates, or deletes an asset in a selected site.
Select the Lansweeper site to watch. StackAI creates a non-expiring webhook for new, updated, and deleted assets.
Configuration
Site
select (string)
Yes
Site whose asset changes should start the workflow. Options load from the selected connection.
Event inputs
Event Type
string
Yes
Asset event that started the workflow.
Site ID
string
Yes
Site where the asset changed.
Webhook ID
string
Yes
Lansweeper webhook that delivered the event.
Sent At
datetime
Yes
When Lansweeper sent the webhook batch.
Asset Key
string
Yes
Key of the asset that changed.
Source ID
string
Yes
Discovery source associated with the asset event.
Event At
datetime
Yes
When the asset event occurred.
Outputs
Event Type
string
Asset event that started the workflow.
Site ID
string
Site where the asset changed.
Webhook ID
string
Lansweeper webhook that delivered the event.
Sent At
datetime
When Lansweeper sent the webhook batch.
Asset Key
string
Key of the asset that changed.
Source ID
string
Discovery source associated with the asset event.
Event At
datetime
When the asset event occurred.
On Source Event
Start a workflow when a discovery source is added or unlinked from a selected site.
Select the Lansweeper site to watch. StackAI creates a non-expiring webhook for new and unlinked discovery sources.
Configuration
Site
select (string)
Yes
Site whose source changes should start the workflow. Options load from the selected connection.
Event inputs
Event Type
string
Yes
Source event that started the workflow.
Site ID
string
Yes
Site where the source changed.
Webhook ID
string
Yes
Lansweeper webhook that delivered the event.
Sent At
datetime
Yes
When Lansweeper sent the webhook batch.
Source ID
string
Yes
ID of the discovery source that changed.
External ID
string
No
Provider-specific external source ID when Lansweeper supplies one.
Event At
datetime
Yes
When the source event occurred.
Outputs
Event Type
string
Source event that started the workflow.
Site ID
string
Site where the source changed.
Webhook ID
string
Lansweeper webhook that delivered the event.
Sent At
datetime
When Lansweeper sent the webhook batch.
Source ID
string
ID of the discovery source that changed.
External ID
string
Provider-specific external source ID when Lansweeper supplies one.
Event At
datetime
When the source event occurred.
On Export Completed
Start a workflow when a bulk export completes in a selected Lansweeper site.
Select the Lansweeper site to watch. StackAI creates a non-expiring webhook for completed bulk exports.
Configuration
Site
select (string)
Yes
Site whose completed exports should start the workflow. Options load from the selected connection.
Event inputs
Event Type
string
Yes
Export event that started the workflow.
Site ID
string
Yes
Site where the export completed.
Webhook ID
string
Yes
Lansweeper webhook that delivered the event.
Sent At
datetime
Yes
When Lansweeper sent the webhook batch.
Export ID
string
Yes
ID of the completed export.
Export URL
string
Yes
URL for downloading the completed export.
Event At
datetime
Yes
When the export completion event occurred.
Outputs
Event Type
string
Export event that started the workflow.
Site ID
string
Site where the export completed.
Webhook ID
string
Lansweeper webhook that delivered the event.
Sent At
datetime
When Lansweeper sent the webhook batch.
Export ID
string
ID of the completed export.
Export URL
string
URL for downloading the completed export.
Event At
datetime
When the export completion event occurred.
Important behavior
Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.
The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.
Last updated
Was this helpful?

