Skip to main content

Creating a Resource Activity

A Resource Activity is a special type of activity that represents a reusable connection or credential configuration — for example, an OAuth-authenticated API connector, an SFTP server profile, or an Azure Blob Storage connection.

Unlike a Simple Activity (which performs a single action), a Resource Activity defines how to connect to an external service. When a workflow builder places a resource in their workflow, they are creating an instance of that connection with their own environment-specific credentials.

info

Location: Library > My Artifacts > Resource Templates — click Create.

The Activity Type is automatically set to Resource when accessed from this section.


Resource Activity vs. Other Resource Concepts​

Koodisi has several resource-related concepts. Here is how they relate:

ConceptWhat It IsWhere It Lives
Resource ActivityThe reusable activity definition that describes a connection typeLibrary > My Artifacts > Resource Templates
Resource (instance)A named instance of a Resource Activity placed inside a specific workflow or applicationApplication > Resources folder
Managed ResourceA platform-level deployed connection with live credentialsDeployment Page > Managed Resources
Resource TemplateA blueprint for a Managed Resource, tied to an IDPLibrary > My Artifacts > Resource Templates

The Creation Wizard​

Creating a Resource Activity uses the same 4-step wizard as a Simple Activity:

StepNamePurpose
1Add DetailsName, type, linked IDP, group, description, icon
2ConfigurationDesign the connection configuration form
3TestingValidate the connection
4PublishReview and publish organisation-wide

Step 1 — Add Details​

Most fields are identical to the Simple Activity Add Details step. The key difference is the Activity Type and the additional Identity Provider field.

Fields​

FieldRequiredDescription
IconOptionalSVG icon shown in the activity palette and resource picker.
Resource NameRequiredUnique identifier for this resource activity. No spaces or special characters; max 35 characters.
Activity TypeAuto-setAutomatically set to Resource when creating from the Resource Templates section.
Select Identity ProviderRequiredLink this resource to an Identity Provider. Determines which OAuth provider handles authentication.
Activity GroupRequiredThe group this resource activity belongs to in the palette.
DescriptionOptionalMarkdown-supported description of what service this resource connects to.
TagsOptionalLabels for filtering and discovery.
AccessOptionalDefault: on. Controls organisation-wide visibility.

Identity Provider Field​

The Select Identity Provider field links this resource activity to a configured IDP. This association:

  • Determines which OAuth endpoints are used for token exchange.
  • Controls whether the Platform Credentials step appears (if the IDP supports Authorization Code + Default Connection).
  • Makes this resource compatible with Managed Resources deployed from the corresponding Resource Template.

The IDP field is locked after the resource is saved — you cannot change the linked provider in edit mode.


Step 2 — Configuration​

The Configuration step opens the Activity Form Builder. For a resource activity, you design the form that appears when a workflow builder configures a connection instance.

Typical fields to include for common resource types:

OAuth Resource

  • Environment selector (which IDP environment to use)
  • OAuth scopes (which permissions to request)
  • Auth context or token reference (as a Mappable Field bound to header/Authorization)

SFTP Resource

  • Host (text field)
  • Port (number field, default 22)
  • Username (text field)
  • Authentication type (password or SSH key — use a select field)
  • Password / SSH Key (password or text field)

ABS (Azure Blob Storage) Resource

  • Account Name (text field)
  • Container Name (text field)
  • Authentication method (Shared Key or SAS Token — use a select field)

Step 3 — Testing​

Test the resource connection with real credentials before publishing. Enter test values for each configuration field and click Run Test to validate that the connection can be established successfully.


Step 4 — Publish​

Review the resource activity summary and click Publish to make it available organisation-wide.

Once published, the resource activity:

  • Appears in the resource picker when workflow builders add a resource to an application.
  • Can be used as the basis for a Resource Template (when accessed via the Library > My Artifacts > Resource Templates flow).

Using a Resource in a Workflow​

After a Resource Activity is published:

  1. Open an application in the workflow designer.
  2. In the left panel, navigate to Resources.
  3. Click Add Resource.
  4. Select the published Resource Activity from the list.
  5. Provide a name for this resource instance and configure the connection fields.
  6. The resource is now available for activities in that application to reference (e.g., a REST Client activity can select it as its auth context).

Editing a Resource Activity​

The resource name is locked in edit mode. All other fields — including the form layout — can be updated. Changes create a new draft version; the live version continues running until the draft is published.