> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Update Follow-up

- Component: `appmixer.superoffice.core.UpdateFollowUp`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.superoffice 1.2.0](https://connectors.appmixer.com/connector/appmixer.superoffice/1.2.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.superoffice/1.2.0/component/appmixer.superoffice.core.UpdateFollowUp>

Update a follow-up. Only the fields you fill in are changed.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Follow-up ID (`followUpId`) | text | The ID of the follow-up. Use Find Follow-ups to look it up. |
| Start Date (`startDate`) | date-time | When the follow-up starts. |
| End Date (`endDate`) | date-time | When the follow-up ends. |
| Title (`title`) | text | - |
| Description (`description`) | textarea | Text of the follow-up. |
| Task (`taskId`) | text | The kind of follow-up (meeting, phone call, ...). Pick one, or type its ID. |
| Type (`type`) | select | Show the follow-up in the diary (with a time) or in the task list. |
| Location (`location`) | text | - |
| Company ID (`companyId`) | text | The company of the follow-up. Use Find Companies to look it up. |
| Person ID (`personId`) | text | The person of the follow-up. Use Find Persons to look it up. |
| Project ID (`projectId`) | text | The project of the follow-up. Use Find Projects to look it up. |
| Sale ID (`saleId`) | text | The sale of the follow-up. Use Find Sales to look it up. |
| Completed (`completed`) | select | Mark the follow-up as completed or not started. |
| Time Zone (`timeZone`) | text | Optional. The time zone of your SuperOffice tenant, for example Europe/Oslo. SuperOffice keeps date-times in the local time of the tenant; the time zone is detected automatically (reliably for European tenants) and this setting overrides it. Date-times the component returns are always in UTC. |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.superoffice.core.UpdateFollowUp",
  "label": "Update Follow-up",
  "description": "Update a follow-up. Only the fields you fill in are changed.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:superoffice"
  },
  "quota": {
    "manager": "appmixer:superoffice",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "followUpId": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "taskId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "inDiary",
              "inChecklist"
            ]
          },
          "location": {
            "type": "string"
          },
          "companyId": {
            "type": "string"
          },
          "personId": {
            "type": "string"
          },
          "projectId": {
            "type": "string"
          },
          "saleId": {
            "type": "string"
          },
          "completed": {
            "type": "string",
            "enum": [
              "Completed",
              "NotStarted"
            ]
          },
          "timeZone": {
            "type": "string"
          }
        },
        "required": [
          "followUpId"
        ]
      },
      "inspector": {
        "inputs": {
          "followUpId": {
            "type": "text",
            "index": 1,
            "label": "Follow-up ID",
            "tooltip": "The ID of the follow-up. Use Find Follow-ups to look it up."
          },
          "startDate": {
            "type": "date-time",
            "index": 2,
            "label": "Start Date",
            "tooltip": "When the follow-up starts."
          },
          "endDate": {
            "type": "date-time",
            "index": 3,
            "label": "End Date",
            "tooltip": "When the follow-up ends."
          },
          "title": {
            "type": "text",
            "index": 4,
            "label": "Title"
          },
          "description": {
            "type": "textarea",
            "index": 5,
            "label": "Description",
            "tooltip": "Text of the follow-up."
          },
          "taskId": {
            "type": "text",
            "index": 6,
            "label": "Task",
            "tooltip": "The kind of follow-up (meeting, phone call, ...). Pick one, or type its ID.",
            "source": {
              "url": "/component/appmixer/superoffice/core/ListListItems?outPort=out",
              "data": {
                "properties": {
                  "isSource": true,
                  "listName": "Task"
                },
                "transform": "./ListListItems#toSelectArray"
              }
            }
          },
          "type": {
            "type": "select",
            "index": 7,
            "label": "Type",
            "tooltip": "Show the follow-up in the diary (with a time) or in the task list.",
            "options": [
              {
                "label": "Diary",
                "value": "inDiary"
              },
              {
                "label": "Task list",
                "value": "inChecklist"
              }
            ]
          },
          "location": {
            "type": "text",
            "index": 8,
            "label": "Location"
          },
          "companyId": {
            "type": "text",
            "index": 9,
            "label": "Company ID",
            "tooltip": "The company of the follow-up. Use Find Companies to look it up."
          },
          "personId": {
            "type": "text",
            "index": 10,
            "label": "Person ID",
            "tooltip": "The person of the follow-up. Use Find Persons to look it up."
          },
          "projectId": {
            "type": "text",
            "index": 11,
            "label": "Project ID",
            "tooltip": "The project of the follow-up. Use Find Projects to look it up."
          },
          "saleId": {
            "type": "text",
            "index": 12,
            "label": "Sale ID",
            "tooltip": "The sale of the follow-up. Use Find Sales to look it up."
          },
          "completed": {
            "type": "select",
            "index": 13,
            "label": "Completed",
            "tooltip": "Mark the follow-up as completed or not started.",
            "options": [
              {
                "label": "Completed",
                "value": "Completed"
              },
              {
                "label": "Not started",
                "value": "NotStarted"
              }
            ]
          },
          "timeZone": {
            "type": "text",
            "index": 14,
            "label": "Time Zone",
            "tooltip": "Optional. The time zone of your SuperOffice tenant, for example Europe/Oslo. SuperOffice keeps date-times in the local time of the tenant; the time zone is detected automatically (reliably for European tenants) and this setting overrides it. Date-times the component returns are always in UTC.",
            "source": {
              "url": "/component/appmixer/superoffice/core/ListTimeZones?outPort=out",
              "data": {
                "transform": "./ListTimeZones#toSelectArray"
              }
            }
          }
        }
      }
    }
  ],
  "outPorts": [
    "out"
  ],
  "icon": "(data URI omitted)"
}
```
