Fieldcode Manual

Tip: You can use filters for better results

About system integrations

This topic is intended for advanced users familiar with system integrations. If you're unsure, please contact your system administrator or Fieldcode support.

Incoming Mapping allows you to define how external data is received, interpreted, and processed by Fieldcode. This guide walks you through the process of creating and configuring an incoming endpoint using the integrated wizard, how to define triggers and actions, and how to test your setup.

What are Incoming Mappings?

Incoming mappings allow external systems to send data into Fieldcode – for example, to create or update tickets automatically. This helps reduce manual work and ensures systems stay in sync.

When to use Incoming Mappings?

  • You want to receive ticket data from a partner system
  • You want to automate ticket creation or updates from external tools
  • You need to integrate Fieldcode with a third-party platform
Example Use Cases:
  • A partner system sends a POST request to your /ticket-create endpoint with ticket data. The mapping logic extracts the ticket ID, customer name, and ticket description, and creates a new ticket in Fieldcode.
  • You want to automatically create tickets from an external CRM system:
    -> Create an endpoint named Ticket creation
    -> Assign it to your CRM system
    -> Configure it to accept POST requests with a JSON payload
    -> Test the setup using the Interface Monitoring page

Start by creating a new endpoint using the Incoming Mapping wizard.

What is a endpoint?:

An endpoint is where the data for a specific action should be sent from the external system.

Endpoint path change or endpoint permission change = New endpoint link + new API key

If you change the endpoint path or the permissions of the endpoint please make sure to send out the new endpoint link and an API key that includes the new permissions.

  1. Navigate to Incoming Mappings.
  2. Click on the plus button.
  3. The Create Endpoint section will open.
Click on image to expand/minimize
  1. The Active toggle is enabled by default. Decide if your endpoint should be activated after the configuration is completed or not.
  2. Enter a name for your new endpoint.
  3. (Optional) - Enter a description for your endpoint.
    Tip: Use descriptive names to easily identify the purpose of each endpoint.


Click on image to expand/minimize
  1. You can pick a system from the list if you have already registered an external system.
Click on image to expand/minimize
  1. (Optional) - If you haven't registered any system yet, you can click the register system button. This will open a window from the right side where you can register a new system, similar as on the Systems page.
Click on image to expand/minimize
  1. Enter a path name. When configuring a new endpoint for incoming mappings, the path name defines the specific URL segment that identifies where the system should listen for incoming data. Think of it as the address or route that external systems use to send data into your platform.
Click on image to expand/minimize

Purpose of the Path Name:

  • Routing Incoming Requests: The path name tells the system where to direct incoming HTTP requests. For example, if your base URL is https://api.example.com, and your path name is /orders, then external systems should send data to https://api.example.com/orders.
  • Endpoint Differentiation: It allows you to create multiple endpoints for different types of data. For instance, /orders/customers, and /inventory could each handle different payloads and mapping rules.
  • Mapping Association: The path name links directly to a specific incoming mapping configuration. This ensures that the correct transformation logic is applied to the incoming data.
  1. Select the method you want to use for the data exchange. The methods are explained in more detail in the table below.
Click on image to expand/minimize

HTTP Methods Explained:

MethodExplanation
Get (Read)The client retrieves a resource from the server. The client should not send data, only retrieve.
Post (Add)The client sends data to the server, so that the server can create a new resource out of it.
Put (Create/Replace)The client specifies a location, and sends some data. If no resource exists on that location, a new one will be created using the data the client sent, if it already exists. It will be replaced by the new data.
Patch (Update)The client sends instructions to the server how to change an existing resource.
Delete (Remove)The client requests the deletion of a resource from the server.
  1. Select if you want to add a body to the HTTP request. For example, you could select yes if you use a .json file.

Click on image to expand/minimize

What Does “Do you want to add a body in the HTTP request” mean?

When this option is enabled, the system wraps the incoming data in an additional JSON object – commonly referred to as a box. This box acts as a container for the actual payload and can help standardize or structure incoming requests.

Why Use a Box?

  • Standardization: If different external systems send data in varying formats, wrapping the payload in a box ensures a consistent structure for processing.
  • Metadata Inclusion: The box can include not just the payload, but also metadata like timestamps, source identifiers, or versioning info.
  • Mapping Simplicity: It can simplify mapping rules by providing a predictable structure to work with.

When to Enable It?

  • Enable this option if your mapping logic expects the payload to be wrapped.
  • Leave it disabled if the external system already sends data in the expected format.
  1. Click on the Next button to proceed to the Permissions step.
Click on image to expand/minimize
  • Select interface permissions that will make the Fieldcode endpoint accessible for the external system.
  • Interface permissions control which users or systems are allowed to access and interact with specific interfaces – such as incoming or outgoing mappings – within your platform.
  • You can choose from existing permissions or create new interface permissions.
  1. Select one of the authentication methods for your incoming mapping.
    API Key: An API key is a unique token that the sender includes in the request header or URL. It acts like a password to identify and authorize the sender.

    Basic Auth: Basic Authentication uses a username and password encoded in the request header. The credentials are sent with every request.
    OAuth2: OAuth2 is a more advanced protocol that allows secure token-based authentication. It often involves an authorization server that issues access tokens.

Click on image to expand/minimize
  1. Select interface permissions that should be used for the incoming mapping.

Important: Make sure to choose interface permissions that match you authentication method. If you do not have matching permissions you can create them on the interface permissions page. Then you can go and create an interface user and assign this permission to it. If you chose the authentication method API key, you can go and create a new API key and assign this permission to it.

Click on image to expand/minimize
  1. You can create new interface permissions from within the wizard as well if you don't have created interface permissions yet.
Click on image to expand/minimize

If your chosen authentication method from previous step is API Key, then the permission of the Fieldcode endpoint can be granted to the external system with an API Key. When using an existing API Key, please ensure that the set of permissions included in this API Key can be granted to the external system. Otherwise, generate a new API Key with a set of permissions suitable for this specific external system.

  1. Click on "Generate secure API key" if you don't have an existing API key or you don't want to use an existing one.
Click on image to expand/minimize
  1. The API Key page will open.
  2. The Active toggle for the "API Key status" is enabled by default. You could for example disable it so the other system has no access to send values.
  3. Enter a name for your API key.
Click on image to expand/minimize
  1. You can now add related permissions with your API key. In this example we selected the default permissions. But you could also configure Interface Permissions by yourself. 
Click on image to expand/minimize
  1. (Optional) - You can configure an expiration date for your API key. After the expiration date the API key will be no longer valid.
Click on image to expand/minimize
  1. Click on Save to finish the basic setup of your Incoming Mapping.
Click on image to expand/minimize

You will be asked to add a mapping right after finishing the basic setup. You can either skip the incoming mapping by clicking on "No, Thanks" or start to add your actual incoming mapping by clicking on "Yes, Add Mapping".

Click on image to expand/minimize
  • When  configuring your endpoint you can choose between “Yes” or “No” on the question:
  • Do you want to add a body in the HTTP request?”.
  • If you selected “Yes” you can continue with the next chapter.
  • If you selected “No” you can skip the Select Payload and Fine Tune Schema chapter and continue as well.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Triggers define how and when the incoming data is processed. The trigger tab includes:

1. Edit Endpoint

  • Modify endpoint settings like path, method, and permissions.

2. Upload Payload

  • Upload a sample payload (e.g., JSON) from the external system.
  • This helps in schema validation and mapping setup.

3. Fine-Tune Schema

  • Adjust the expected data structure.
  • Useful for aligning incoming data with Fieldcode’s internal models.

 

  • If you have used the wizard previously to setup the incoming mapping you can skip this step
  • If you haven’t used the wizard you have the option to edit your endpoint (Described in Wizard Step 1).
Do you want to add a body in the HTTP request?

You can skip the "Select Payload and Fine Tune Schema" step if you have previously selected "No body" when being asked to add a body in the HTTP request.

This section allows you to upload a sample payload – typically in JSON format – that represents the kind of data the external system will send to Fieldcode.

🛠 How to Use:

  1. Click Upload Payload.
  2. Select a sample JSON file or paste the payload directly.
  3. Fieldcode will parse the payload and display its structure.
  4. You can preview the schema and make adjustments if needed.
  5. Click on Continue.

🔍 Purpose:

  • Helps Fieldcode understand the structure of incoming data.
  • Automatically generates a schema based on the uploaded payload.
  • Serves as a reference for mapping fields later in the process.
Tip for the Payload Upload

Use a realistic payload that includes all expected fields to avoid missing mappings later.

Once the payload is uploaded, Fieldcode generates a schema which you can finetune. The schema is a blueprint of the data structure. The Fine tune schema section lets you review and refine that schema.

🔧 What You Can Do:

  • Rename fields for clarity or consistency.
  • Change data types (e.g., string → number).
  • Mark fields as required or optional.
  • Add or remove fields manually if the payload doesn’t cover all cases.

🧭 Why It Matters:

  • Ensures accurate mapping between external data and Fieldcode’s internal models.
  • Prevents errors during data processing.
  • Improves flexibility when dealing with varied payloads.
Changes here affect how Fieldcode interprets incoming data.

Be cautious when modifying field types or required status.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

  1. The first step is to pick an action from the dropdown.
Click on image to expand/minimize
  1. Select one of the following actions:
Action TypeDescriptionPurpose
Save AbsenceStores absence information (e.g., vacation, sick leave) for a user or resource.
Useful for managing availability and ensuring scheduling accuracy.
Create TicketCreates a new ticket in the system based on the provided data.Ideal for initiating service requests, incidents, or tasks from external systems.
Create and Update ItemsCreates new items or updates existing ones in the system (e.g., devices, contacts, addresses).Helps keep your data synchronized with external sources.
Update AbsenceModifies existing absence records.

Use this to correct or extend previously saved absence entries.
Create Ticket InfoAdds informational messages to a ticket (e.g., internal notes, customer updates).Supports communication and documentation within the ticket lifecycle.
Save DocumentUploads and attaches a document to a ticket or entity (e.g., PDFs, images, reports).Useful for storing service reports, contracts, or evidence.
Submit Interface FormSubmits a structured form to Fieldcode via an interface, triggering a defined workflow.Ideal for collecting and processing external input like feedback, surveys, or structured requests.
  1. Let's assume you want to use the "Create Ticket" action.
  2. You select it and click Continue.
Click on image to expand/minimize

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Was this topic helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we further improve this topic?
Please provide the reason for your vote. This will help us improve this topic.
Navigation