Actions795
- X Type Role Actions
- View Filter Actions
- View List Group Actions
- View Lists Actions
- Virima Details Actions
- Virtual Agent Actions
- VM Workspace Details Actions
- Webhook Actions
- Webhook Event Actions
- Webhook Repository Actions
- Wordpress Details Actions
- Wordpress Org Details Actions
- Workdays Actions
- Workflow Target Actions
- Xero Details Actions
- Xtype Actions
- X Type Mapping Actions
- To Do Group Actions
- T Outcome Actions
- Tree Actions
- T Status Actions
- Twilio Whats App Details Actions
- Twitter Details Actions
- Type Info Actions
- Uname Actions
- Uname Event Subscription Actions
- Uname Notification Actions
- Uname Presence Subscription Actions
- Unsub Email Service Users Actions
- User Change Actions
- User Roles Actions
- Users Actions
- Version Actions
- View Columns Actions
- Snipe IT Details Actions
- Snow Details Actions
- SQL Import Actions
- Std Request Actions
- Stream One Ion Details Actions
- Supplier Order Header Actions
- Synnex Details Actions
- Tabname Actions
- Tag Actions
- Tanium Details Actions
- Tax Actions
- Tax Rule Actions
- Team Image Actions
- Teams Chat Message Actions
- Tech Data Reseller Details Actions
- Tenable Actions
- Tenable Details Actions
- Ticket Area Actions
- Timesheet Actions
- Timesheet Event Actions
- Timeslot Actions
- Schedule Occurrence Actions
- Screen Layout Actions
- Script Header Actions
- Search Actions
- Section Detail Actions
- Security Question Actions
- Security Question Validate Actions
- Service Availability Actions
- Service Category Actions
- Service Request Details Actions
- Service Restriction Actions
- Serv Site Actions
- Serv Status Actions
- Setup Tab Actions
- Setup Tab Group Actions
- Shopify Details Actions
- Site Actions
- Slack Details Actions
- Sla Head Actions
- Quotation Header Actions
- Recurring Invoice Header Actions
- Release Actions
- Release Branch Actions
- Release Component Actions
- Release Note Group Actions
- Release Pipeline Actions
- Release Product Actions
- Release Type Actions
- Remote Session Data Actions
- Remote Session Teams Actions
- Report Data Actions
- Report Repository Actions
- Request Type Actions
- Request Type Field Actions
- Request Type Group Actions
- Roadmap Actions
- Sage Business Cloud Details Actions
- Sales Mailbox Actions
- Sales Mailbox Detail Actions
- Schedule Actions
- Outgoingemail Actions
- Pager Duty Mapping Actions
- Parts Lookup Actions
- Parts Lookup Confirmation Actions
- Pdf Template Actions
- Pdf Template Repository Actions
- Policy Actions
- Power Shell Script Actions
- Power Shell Script Criteria Actions
- Power Shell Script Processing Actions
- Prepay History Actions
- Projects Actions
- PRTG Details Actions
- Publish Profiles Actions
- Qualification Actions
- Quick Books Details Actions
- Message Content Actions
- Microsoft Subscription Mapping Actions
- Microsoft Teams Mapping Actions
- Module Setup Actions
- MYOB Details Actions
- N Central Details Actions
- NHD Device Info Actions
- NHD Identity Application Actions
- NHD Roles Actions
- NH Server Config Actions
- Notification Content Actions
- Online Status Actions
- Opps Actions
- Order Head Actions
- Organisation Actions
- Outbound Integration Actions
- Outbound Integration Method Actions
- Outbound Integration Repository Actions
- Outgoing Actions
- Outgoing Attempt Actions
- Kandji Details Actions
- Kashflow Details Actions
- KB Entry Actions
- Language Pack Actions
- Language Pack Translations Custom Actions
- LDAP Connection Actions
- Licence Actions
- Licence Change Actions
- Licence Info Actions
- Licence Role Actions
- Live Chat Header Actions
- Live Chat Msg Actions
- Login Token Actions
- Lookup Actions
- Mailbox Actions
- Mail Campaign Actions
- Mail Campaign Email Actions
- Manage Engine Details Actions
- Marketing Open Actions
- Marketing Unsubscribe Actions
- Mattermost Details Actions
- Integration Configuration Actions
- Integration Data Actions
- Integration Error Actions
- Integration Export Actions
- Integration Field Data Actions
- Integration Field Mapping Actions
- Integration Look Up Actions
- Integration Request Actions
- Integration Runbook Variable Group Actions
- Integration Site Mapping Actions
- Integrator Log Actions
- Integrator Schedule Actions
- Invoice Change Actions
- Invoice Header Actions
- Invoice Payment Actions
- Item Actions
- Item Group Actions
- Item Stock Actions
- Item Stock History Actions
- Item Supplier Actions
- Jamf Details Actions
- Jira Details Actions
- Journey Actions
- Fault To Do Actions
- Feed Actions
- Feedback Actions
- Field Actions
- Field Group Actions
- Field Info Actions
- Flow Detail Actions
- Flow Header Actions
- Formatted Email Actions
- Fortnox Details Actions
- Generic Actions
- Google Business Details Actions
- Halo News Actions
- Holidays Actions
- Impersonation Request Actions
- Import Csv Actions
- Incoming Email Actions
- Incoming Event Actions
- Ingram Micro Details Actions
- Ingram Micro Reseller Details Actions
- Instance Actions
- Device Applications Actions
- Device Change Actions
- Device Meter Reading Actions
- Distribution Lists Actions
- Distribution Lists Log Actions
- Downtime Actions
- Dynatrace Details Actions
- Ecommerce Order Actions
- Email Address Book Actions
- Email Rule Actions
- Email Store Actions
- Esc Msg Actions
- Event Actions
- Event Rule Actions
- Exact Details Actions
- External Link Actions
- Facebook Details Actions
- FAQ List Head Actions
- Fault Approval Actions
- Fault Forecasting Actions
- Faults Actions
- Contactgroup Actions
- Contactgroupcontacts Actions
- Contract Actions
- Contract Header Actions
- Contract Rule Actions
- Contract Schedule Actions
- Contract Schedule Plan Actions
- Contract Template Header Actions
- Control Actions
- Costcentres Actions
- CSV Template Actions
- Currency Actions
- Custom Button Actions
- Custom Query Actions
- Custom Table Actions
- Dashboard Links Actions
- Datto Commerce Details Actions
- Device Actions
- Booking Type Actions
- Bookmark Actions
- Budget Type Actions
- Bulk Email Actions
- Business Central Details Actions
- Cab Header Actions
- Call Log Actions
- Canned Text Actions
- Category Detail Actions
- Certificate Actions
- Charge Rate Actions
- Chat Flow Actions
- Chat Profile Actions
- Company Actions
- Config Commit Actions
- Confirm Closure Actions
- Confluence Details Actions
- Connected Instance Actions
- Consignment Header Actions
- Amazon Seller Details Actions
- Analyzer Profile Actions
- Appointment Actions
- Approval Process Actions
- Approval Process Rule Actions
- Approval Store Actions
- Area Actions
- Area Azure Tenant Actions
- Area Item Actions
- Area Note Actions
- Area Popup Actions
- Area Request Type Actions
- Attachment Actions
- Audit Actions
- Audit Password Field Actions
- Autoassign Actions
- Automation Actions
- Avalara Details Actions
- AWS Details Actions
- Azure AD Connection Actions
- Azure AD Mapping Actions
- Azure Delta Actions
- Azure Dev Ops Actions
- Background Task Actions
- Actions Actions
- Addressbook Actions
- Address Store Actions
- Adobe Acrobat Details Actions
- Adobe Commerce Details Actions
- Agent Check In Actions
- Agent Image Actions
- Ai Suggestion Actions
Power Shell Script → Get One Power Shell Script
AI-generatedOverview
This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the "Power Shell Script" resource and the "Get One Power Shell Script" operation, it retrieves a single Power Shell script by its unique identifier. This is useful in scenarios where you need to fetch detailed information about a specific Power Shell script stored in the Halo PSA system, such as for auditing, automation, or further processing within an n8n workflow.
Practical examples include:
- Automatically retrieving a Power Shell script before executing it in an automation pipeline.
- Fetching script details to display or log them in a dashboard.
- Integrating with other systems that require script metadata from Halo PSA.
Properties
| Name | Meaning |
|---|---|
| Id | The unique numeric identifier of the Power Shell script to retrieve. |
| Includedetails | Optional flag/query parameter to specify whether to include additional details in the response. |
Output
The node outputs JSON data representing the retrieved Power Shell script. The structure corresponds to the API response from Halo PSA for a single Power Shell script entity. It typically includes fields such as the script's ID, name, content, metadata, and possibly related details if requested via the Includedetails parameter.
No binary data output is produced by this operation.
Example output (simplified):
{
"id": 123,
"name": "My PowerShell Script",
"content": "Write-Host 'Hello World'",
"description": "Sample script",
"createdDate": "2023-01-01T12:00:00Z",
"modifiedDate": "2023-02-01T12:00:00Z"
}
Dependencies
- Requires valid credentials for the Halo PSA API, including base URL, tenant identifier, client ID, and client secret.
- The node uses these credentials to authenticate requests to the Halo PSA REST API.
- No additional external dependencies beyond the configured API credentials are needed.
Troubleshooting
- Missing or invalid credentials: The node will throw an error if the required API credentials are not provided or invalid. Ensure that the API key/token and other credential details are correctly configured in n8n.
- Resource or Operation not found: If the specified resource or operation does not exist, the node throws an error indicating the missing element. Verify that the resource is set to "Power Shell Script" and the operation to "Get One Power Shell Script".
- Invalid Id parameter: Providing an invalid or non-existent script ID may result in an API error or empty response. Confirm the ID corresponds to an existing Power Shell script.
- API request failures: Network issues, incorrect base URL, or permission problems can cause request failures. Check connectivity and API permissions.
- JSON parsing errors: If additional query parameters or request bodies are malformed JSON, the node may fail. Ensure proper JSON formatting when using advanced options.
Links and References
- Halo PSA API Documentation (general reference for API endpoints)
- n8n Documentation - Creating Custom Nodes
- PowerShell Scripting Basics (for understanding Power Shell scripts)
If you need more details on other resources or operations, feel free to ask!