IFS and Power Automate: Building Low-Code Integrations
How to connect IFS Cloud to Microsoft Power Automate via OData — triggering flows from IFS events, writing data back, and practical patterns for common business scenarios.
Published
Microsoft Power Automate has become one of the fastest-growing low-code automation platforms in enterprise environments. For IFS Cloud implementations, Power Automate opens doors to seamless integration with the Microsoft ecosystem—automating workflows, synchronizing data, and triggering actions without writing server-side code. This guide walks functional consultants and IT professionals through connecting IFS Cloud to Power Automate via OData, from initial setup through real-world use cases.
Why IFS Cloud and Power Automate?
IFS Cloud exposes documented business data and operations through OData projection APIs. Power Automate can consume those APIs and complement IFS for appropriately scoped Microsoft 365 workflows. Together, they enable:
- Event-driven or scheduled workflows: Respond through a supported event bridge or poll at a governed interval
- Data synchronization: Keep IFS and external systems in sync without custom integrations
- Approval chains: Route documents and requests through Microsoft Teams or Outlook
- Notification ecosystems: Alert stakeholders across email, Teams, and other Microsoft services
- Low-code delivery: Reduce custom code while retaining professional ownership, testing, security and support
The available projections depend on the installed components and IFS Cloud release. Use the target tenant's API Explorer rather than assuming every business object or operation is exposed.
Understanding OData in IFS Cloud
Before connecting Power Automate, you need to understand how IFS exposes its data:
Projections are versioned REST/OData service contracts containing entity sets, functions and actions. Copy their actual names and paths from API Explorer; names in the flow sketches below are descriptive placeholders.
OData queries allow you to filter, sort, and fetch data using a standard syntax:
/main/ifsapplications/projection/v1/ProjectionName.svc/EntitySet?$filter=Property eq 'value'&$select=Property1,Property2&$top=100
Each projection declares what it supports. Some entity sets are read-only; others allow selected create/update/delete operations, and business-state transitions are commonly exposed as actions. A custom connector does not bypass IFS validation or permissions.
OAuth bearer requests do not use a generic “fetch an x-csrf-token first” contract across IFS Cloud projections. Send the headers documented for the exact API, including If-Match when ETag concurrency applies.
Setting Up OAuth Authentication
Power Automate uses OAuth 2.0 with OpenID Connect to authenticate against IFS Cloud. This is more secure than basic auth and is the recommended approach for cloud integrations.
Step 1: Create an IAM Client in IFS Cloud
- Log in to IFS Aurena (IFS Cloud UI)
- Navigate to the IAM Client Details administration page available in the target release
- Create a dedicated IAM client for the selected interactive/custom-connector flow:
- Client ID: Choose a descriptive name (e.g.,
PowerAutomate-Integration) - Client type/grants: Enable only the authorization-code/refresh capabilities required by the connector
- Client Secret: If the chosen confidential-client setup issues one, copy it once into the approved connection/credential store
- Redirect URI: Add the URI generated by Power Automate before the final sign-in test
- Client ID: Choose a descriptive name (e.g.,
- Grant the client/principal only the required IFS projection operations and business-data scope
- Read the Token URL and Authorization URL from the issuer's
/.well-known/openid-configurationdocument
Step 2: Create a Custom Connector in Power Automate
Connector availability and licensing change over time. If your tenant does not have an approved IFS connector for the required projection, create and govern a custom connector; allow time for security review, environment promotion, and Data Loss Prevention policy—not just its initial definition.
- Log in to Power Automate (make.powerautomate.com)
- In the left sidebar, go to More > Discover All > Custom connectors
- Select Create from blank
- Enter connector name:
IFS Cloud OData
Step 3: Configure General Details
- Icon: Upload an IFS logo or connector icon
- Scheme: HTTPS (required for cloud)
- Host: the exact HTTPS host from the target IFS API Explorer, without inventing an
ifscloud.netsuffix - Base URL: the exact projection context from API Explorer (commonly
/main/ifsapplications/projectionin current Cloud releases)
Step 4: Configure OAuth Security
-
In the Security step, select OAuth 2.0 as the authentication type
-
Fill in:
- Client ID: From your IAM Client
- Client Secret: From your IAM Client
- Authorization URL:
authorization_endpointfrom discovery - Token URL:
token_endpointfrom discovery - Refresh URL: the token endpoint only when the chosen flow issues refresh tokens
- Scopes: only those configured for this client and integration
-
Save the connector. Power Automate will generate a Redirect URI
-
Copy this URI and add it to your IAM Client in IFS Cloud under Redirect URI
-
Test the connection by selecting Test > New connection and verifying the OAuth login works
Building Trigger Patterns
Pattern 1: Scheduled OData Polling Trigger
There is no universal “IFS record changed” Power Automate trigger for every projection. Use scheduled incremental reads, or deliberately bridge a supported IFS event/Application Message through IFS Connect or middleware to an authenticated flow endpoint.
Trigger: Recurrence (e.g., every 15 minutes)
└─ Action: IFS Cloud OData > Read Records
Projection/entity set: from API Explorer
Filter: modification timestamp plus a stable tie-breaker key
└─ Action: For Each record
└─ Child Action: Send Email / Create Teams Message / Update Another System
This pattern works well for modest-volume use cases but creates latency. Persist the high-water mark only after successful processing, account for records with equal timestamps and deletions, and follow @odata.nextLink. For lower latency, use a durable, authenticated event bridge rather than exposing a raw flow URL as a public webhook.
Pattern 2: Manual Trigger with Flow Button
For ad-hoc integrations—e.g., "Push this approved PO to our accounts system"—use a button trigger:
Trigger: Button (Manual Trigger)
└─ User inputs: PO Number, Supplier ID
└─ Action: IFS Cloud OData > Read Record
Get Purchase Order details via the supplied PO number
└─ Action: Parse JSON (to extract nested fields)
└─ Action: External System > Create Invoice / Send API Call
Pattern 3: Event-Based Trigger via HTTP Webhook
If a supported IFS event/Connect route or integration layer can deliver to an authenticated Power Automate or API Management endpoint when an event occurs, use:
Trigger: HTTP Request (webhook)
└─ Payload: { "poNumber": "...", "status": "APPROVED" }
└─ Action: Trigger flow actions based on payload
This is event-driven, but delivery is normally at least once. Validate authentication and payloads, retain a correlation/idempotency key, acknowledge quickly, and put durable processing behind the receiver so retries do not duplicate work.
Writing Data Back to IFS Cloud
Power Automate can write only the operations that the selected IFS projection exposes and the OAuth principal is authorized to use.
Creating a Record
Action: IFS Cloud OData > Create Record
Projection/entity set: exact writable customer-owned test service from API Explorer
Body:
{
"Description": "ACME integration test",
"ExternalReference": "PA-TEST-001"
}
Updating a Record
Action: IFS Cloud OData > Invoke Action
Projection/action: exact receipt business action from API Explorer
Entity key: the full OData key predicate (which may be composite)
Body:
{
"ReceivedQuantity": 100
}
Important: Many IFS fields are read-only, computed or state-machine controlled. API Explorer and $metadata identify the technical operation; the business process determines whether it is safe. Use the returned ETag/If-Match where required and test in a non-production environment.
Handling Request Headers
With the generic HTTP action, attach the OAuth bearer token through the connector's authentication configuration, set Content-Type: application/json for JSON bodies, and use the exact headers documented for the projection. Preserve ETags for writes where optimistic concurrency is exposed. Do not copy SAP-style x-csrf-token handling into an IFS flow unless the target IFS documentation explicitly requires it.
Three Real-World Use Cases
Use Case 1: Automated Purchase Order Approval Routing
Scenario: When a new PO is created in IFS with a value exceeding $50,000, it should be routed to Finance for approval via Outlook.
Flow:
-
Trigger: Scheduled check every 4 hours
Action: IFS OData > Read Records Filter: target-release amount/state properties, plus incremental watermark -
Condition: If any records found
For Each record: └─ Action: Send Email (Outlook) To: [email protected] Subject: PO {PONumber} Requires Approval – ${Amount} Body: Link to IFS Aurena (or include key details) Attachments: Summary attachment (optional) -
Approval handling (manual):
- Finance reviews in IFS Aurena
- Performs the configured IFS purchase-order authorisation/approval action; do not patch a lifecycle status
- Power Automate detects the change on the next scheduled run
- Sends notification to Procurement that PO is ready for release
Benefits: Removes manual email alerts and integrates with Teams/Outlook. Keep the authoritative approval and its audit evidence in IFS; flow run history is operational evidence, not a substitute for the ERP approval record.
Use Case 2: Work Order Completion Sync to External Service Management
Scenario: When technicians complete a Work Order in IFS, the completion status should automatically sync to your Service Management system (e.g., Jira, ServiceNow, or a custom system).
Flow:
-
Trigger: Scheduled every 30 minutes
Action: IFS OData > Read Records Projection/entity set: target-release work-order service Filter: target-release state and modification properties plus a tie-breaker key -
For each completed work order:
└─ Action: Parse IFS response (extract WO number, technician, duration, costs) └─ Condition: Is this WO new or already synced? (Check against a SharePoint list or database) └─ Action: External System > Update Ticket / Create Invoice Method: POST to Service Management API Payload: { "workOrderId": "{IFS_WO_Number}", "technician": "{TechnicianName}", "hoursWorked": {HoursValue}, "completionDate": "{CompletionDate}", "costCode": "{CostCenter}" } └─ Action: Update tracking list (mark as synced to prevent re-processing) -
Error handling:
On failure: └─ Action: Send alert email to integration team └─ Log error to SharePoint list for manual review
Benefits: Timely sync between IFS and support/service systems; eliminates double data entry; improves operational transparency.
Use Case 3: Supplier Invoice Matching & Three-Way Match Automation
Scenario: Automate the three-way match (PO, Receipt, Invoice) by monitoring supplier invoices received in email and creating invoice records in IFS.
Flow:
-
Trigger: When email arrives in "Supplier Invoices" inbox
Trigger: Outlook > When a new email arrives Filter by: From = supplier domains, Subject contains "Invoice" -
Extract invoice details (via cognitive services or manual parsing):
Action: Azure AI Document Intelligence or a governed parsing/review step Extracted fields: Invoice Number, Supplier, Amount, Invoice Date, PO Number -
Match against IFS Purchase Order:
Action: IFS OData > Read Record Projection/entity set: target-release purchase-order read service Filter: PO Number (from email) + Supplier ID If PO found: └─ Store PO amount, remaining balance, received quantities Else: └─ Send alert: "Invoice PO not found in IFS" └─ Move email to review folder -
Validate three-way match:
Conditions: • Is invoice amount within PO amount? (with tolerance, e.g., ±5%) • Is received quantity complete? • Does invoice date align with receipt date? If all pass: └─ Action: Invoke the supported supplier-invoice import/create operation Projection/action: confirmed in API Explorer or the approved file interface Body: { poNumber, invoiceNumber, amount, invoiceDate, ... } If mismatch detected: └─ Action: Send Teams message to Accounts Payable with discrepancy details └─ Action: Move email to "Requires Review" folder -
Post-creation:
└─ Action: Record the IFS document identifier and correlation ID └─ Action: Route exceptions to Accounts Payable for review
Benefits: Reduces manual invoice entry and surfaces mismatches earlier. Preserve segregation of duties, duplicate-invoice checks, tax validation, malware scanning, human review thresholds and the authoritative accounting audit trail in IFS; OCR output alone must not authorize payment.
Key Takeaways & Best Practices
1. Plan Your Authentication Upfront
- Use OAuth 2.0; never hardcode credentials in flows
- Rotate client secrets regularly
- Store connector credentials in approved Power Platform connection references or a secrets service. A managed identity can protect customer-owned Azure components, but it does not automatically authenticate directly to IFS IAM.
2. Test in a Sandbox IFS Environment
- Verify projections are writable before deploying to production
- Check field-level security (some fields may be read-only)
- Test representative data volumes and continuation paging; control concurrency and use batch operations only where the IFS contract explicitly supports them
3. Handle Errors Gracefully
- Always add error-handling branches (On failure actions)
- Log errors to a centralized location (SharePoint, database, or Azure Monitor)
- Set up alerting for integration failures
4. Optimize for Performance
- Use
$selectto fetch only needed fields (reduces payload) - Use
$filterserver-side rather than filtering in Power Automate - Implement exponential backoff for retries
- Follow
@odata.nextLinkfor paging;$topis only a requested page size
5. Version Your Flows
- Package flows and connection references in Power Platform Solutions and promote managed versions through environments
- Document the flow's purpose, dependencies, and owners in the description
- Maintain a change log in the flow's "Notes" section
6. Monitor and Alert
- Configure Power Automate analytics to track run success/failure rates
- Set up email notifications for flow failures
- Periodically review old flows that may be outdated or redundant
7. Respect IFS Rate Limits
- Measure throttling and concurrency behaviour in the contracted tenant/release; do not design around an assumed universal requests-per-minute figure
- Design flows to batch operations where possible
- Avoid parallel loops that trigger hundreds of API calls simultaneously
Common Pitfalls to Avoid
- Assuming all fields are writable: Test before deployment. IFS has computed and audit fields that can't be modified.
- Inventing generic request headers: Use the OAuth, content, concurrency and warning-handling headers documented for the exact IFS API.
- Polling too frequently: Excessive polling drains API quota and costs. Balance frequency with business needs (e.g., hourly for non-critical syncs, 15 minutes for critical order workflows).
- Not handling concurrency: If multiple flows access the same IFS record simultaneously, expect conflicts. Use optimistic locking patterns or sequential processing.
- Skipping data validation: Validate and transform data before writing to IFS. IFS business validation will reject many bad requests, but semantically wrong yet valid data can still create costly operational errors.
Conclusion
Power Automate and IFS Cloud can be a powerful combination for governed low-code integration. OData and the Microsoft connector ecosystem can reduce bespoke code, but production flows still need technical ownership, least privilege, lifecycle management, observability, reconciliation and support.
Start with a simple use case (e.g., sending a Teams notification when a PO is approved), prove the value, then expand to more complex automation. Over time, these integrations become part of your digital backbone, seamlessly connecting IFS with your entire Microsoft ecosystem and beyond.
For more information, consult the IFS Cloud documentation on OData (available in IFS Aurena under Administration > API Explorer) and Microsoft's Power Automate connector documentation.
Need low-code workflows between IFS Cloud and Microsoft 365?
Syrett Consultancy can help you design Power Automate integrations that are practical, supportable, and secure.